test(tools): avoid approximate constant lint

This commit is contained in:
Hunter B
2026-06-12 05:36:15 -07:00
parent 0986cabb1d
commit de9a0131cf
+1 -1
View File
@@ -566,7 +566,7 @@ mod tests {
u64::MAX
);
for value in [json!(-1), json!(3.14), json!("42")] {
for value in [json!(-1), json!(2.5), json!("42")] {
assert!(matches!(
required_u64(&json!({"count": value}), "count"),
Err(ToolError::MissingField { .. })