diff --git a/tests/snapshot-examples.rs b/tests/snapshot-examples.rs index 6c7c76b..0503059 100644 --- a/tests/snapshot-examples.rs +++ b/tests/snapshot-examples.rs @@ -5,7 +5,7 @@ //! modified by any change. fn check_snapshot(original: &str) { - let formatted = verusfmt::parse_and_format(&original).unwrap(); + let formatted = verusfmt::rustfmt(&verusfmt::parse_and_format(&original).unwrap()).unwrap(); if original != formatted { let diff = similar::udiff::unified_diff( similar::Algorithm::Patience,