mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
chore(tasks): use assert_eq! instead of assert! (tasks/minsize/src/lib.rs) (#8129)
related to https://github.com/oxc-project/oxc/pull/8124
This commit is contained in:
parent
093ddd6f4d
commit
e676fdfd83
1 changed files with 1 additions and 1 deletions
|
|
@ -131,7 +131,7 @@ fn minify_twice(file: &TestFile) -> String {
|
||||||
};
|
};
|
||||||
let source_text1 = minify(&file.source_text, source_type, options);
|
let source_text1 = minify(&file.source_text, source_type, options);
|
||||||
let source_text2 = minify(&source_text1, 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
|
source_text2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue