Skip to content

Commit

Permalink
Ensure testing with verusfmt binary default
Browse files Browse the repository at this point in the history
  • Loading branch information
jaybosamiya committed Feb 26, 2024
1 parent 168e846 commit 0ff13c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/snapshot-examples.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0ff13c1

Please sign in to comment.