Skip to content

Commit

Permalink
improve stability assert output
Browse files Browse the repository at this point in the history
  • Loading branch information
g-plane committed Mar 13, 2024
1 parent 553f360 commit 8b565c7
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 3 deletions.
42 changes: 40 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions markup_fmt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ tiny_pretty = { version = "0.1", features = ["unicode-width"] }

[dev-dependencies]
insta = { version = "1.34", features = ["glob"] }
similar-asserts = "1.5"
toml = "0.8"

[features]
Expand Down
2 changes: 1 addition & 1 deletion markup_fmt/tests/fmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ fn run_format_test(
Ok::<_, ()>(code.into())
})
.unwrap();
assert_eq!(
similar_asserts::assert_eq!(
output,
regression_format,
"'{}' format is unstable",
Expand Down

0 comments on commit 8b565c7

Please sign in to comment.