fix: Change an arbitrary test input so that clippy doesn't think it looks like pi
I don't think we actually want to use a precise value for pi, but if we
put 3.14, the approx_constant clippy lint will suggest it.
@@ -276,11 +276,11 @@ mod test {
assert_eq!(vals[0].time(), 546);
assert!(approximately_equal(vals[0].f64_value().unwrap(), 44.0));
- let input = "foo asdf=3.14 123";
+ let input = "foo asdf=3.74 123";
let vals = parse(input);
assert_eq!(vals[0].series(), "foo\tasdf");
assert_eq!(vals[0].time(), 123);
- assert!(approximately_equal(vals[0].f64_value().unwrap(), 3.14));
+ assert!(approximately_equal(vals[0].f64_value().unwrap(), 3.74));
}
#[test]
