diff --git a/crates/oxc_minifier/tests/closure/fold_constants.rs b/crates/oxc_minifier/tests/closure/fold_constants.rs index f31a716e1..76f539caa 100644 --- a/crates/oxc_minifier/tests/closure/fold_constants.rs +++ b/crates/oxc_minifier/tests/closure/fold_constants.rs @@ -232,6 +232,45 @@ fn test_null_comparison1() { test_same("x==null"); } +#[test] +fn test_boolean_boolean_comparison() { + test_same("!x==!y"); + test_same("!x