Allow exact compatibility float assertions
This commit is contained in:
@@ -734,6 +734,7 @@ mod tests {
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[allow(clippy::float_cmp)] // Exact representable constants are the compatibility contract.
|
||||
fn defaults_match_reference_and_validate() {
|
||||
let settings = Settings::defaults();
|
||||
assert_eq!(
|
||||
|
||||
Reference in New Issue
Block a user