diff --git a/crates/io/tests/dynblock_rotate_flip.rs b/crates/io/tests/dynblock_rotate_flip.rs index 3ba13176d..82af5a1c6 100644 --- a/crates/io/tests/dynblock_rotate_flip.rs +++ b/crates/io/tests/dynblock_rotate_flip.rs @@ -73,7 +73,7 @@ fn rotation_and_flip_are_read() { let (d, _) = symbol(); let m = dynamic_block(&d, "Symbol").unwrap(); let p = |node: i32| &m.parameters.iter().find(|p| p.node == node).unwrap().kind; - assert!(matches!(p(15), ParameterKind::Rotation { label, values, .. } if label == "Angle1" && values.maximum > 6.28)); + assert!(matches!(p(15), ParameterKind::Rotation { label, values, .. } if label == "Angle1" && values.maximum > 6.0)); assert!( matches!(p(20), ParameterKind::Flip { label, states, .. } if label == "Flip state1" && states == &["Not flipped".to_string(), "Flipped".to_string()]) );