Address clippy lints
diff --git a/tests/test_lit.rs b/tests/test_lit.rs
index c0fbfa5..1a65c39 100644
--- a/tests/test_lit.rs
+++ b/tests/test_lit.rs
@@ -173,6 +173,7 @@
 
 #[test]
 fn floats() {
+    #[cfg_attr(feature = "cargo-clippy", allow(float_cmp))]
     fn test_float(s: &str, value: f64, suffix: FloatSuffix) {
         match lit(s) {
             Lit::Float(lit) => {