Skip to content

Commit

Permalink
chore(tasks): use assert_eq! instead of assert! (`tasks/minsize/s…
Browse files Browse the repository at this point in the history
…rc/lib.rs`) (#8129)

related to #8124
  • Loading branch information
baseballyama authored Dec 26, 2024
1 parent 093ddd6 commit e676fdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/minsize/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ fn minify_twice(file: &TestFile) -> String {
};
let source_text1 = minify(&file.source_text, source_type, options);
let source_text2 = minify(&source_text1, source_type, options);
assert!(source_text1 == source_text2, "Minification failed for {}", &file.file_name);
assert_eq!(source_text1, source_text2, "Minification failed for {}", &file.file_name);
source_text2
}

Expand Down

0 comments on commit e676fdf

Please sign in to comment.