mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
chore(minifier): remove duplicate minifier test (#6792)
these tests already exist below (and have been enabled)
34fe7c00a3/crates/oxc_minifier/src/ast_passes/peephole_remove_dead_code.rs (L576-L597)
i suspect this was left in as a copy/pasta error
This commit is contained in:
parent
718ccded34
commit
7c51b2fd9d
1 changed files with 0 additions and 18 deletions
|
|
@ -869,24 +869,6 @@ mod test {
|
|||
fold_same("if (f) { f?.['x'](); }");
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[ignore]
|
||||
fn test_object_literal() {
|
||||
test("({})", "1");
|
||||
test("({a:1})", "1");
|
||||
test_same("({a:foo()})");
|
||||
test_same("({'a':foo()})");
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[ignore]
|
||||
fn test_array_literal() {
|
||||
test("([])", "1");
|
||||
test("([1])", "1");
|
||||
test("([a])", "1");
|
||||
test_same("([foo()])");
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[ignore]
|
||||
fn test_remove_else_cause() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue