diff options
Diffstat (limited to 'test/compress')
-rw-r--r-- | test/compress/issue-1446.js | 10 | ||||
-rw-r--r-- | test/compress/reduce_vars.js | 2 |
2 files changed, 9 insertions, 3 deletions
diff --git a/test/compress/issue-1446.js b/test/compress/issue-1446.js index cad1ae57..30062c7d 100644 --- a/test/compress/issue-1446.js +++ b/test/compress/issue-1446.js @@ -1,6 +1,7 @@ typeof_eq_undefined: { options = { - comparisons: true + comparisons: true, + typeofs: true, } input: { var a = typeof b != "undefined"; @@ -24,6 +25,7 @@ typeof_eq_undefined_ie8: { options = { comparisons: true, ie8: true, + typeofs: true, } input: { var a = typeof b != "undefined"; @@ -45,7 +47,8 @@ typeof_eq_undefined_ie8: { undefined_redefined: { options = { - comparisons: true + comparisons: true, + typeofs: true, } input: { function f(undefined) { @@ -58,7 +61,8 @@ undefined_redefined: { undefined_redefined_mangle: { options = { - comparisons: true + comparisons: true, + typeofs: true, } mangle = {} input: { diff --git a/test/compress/reduce_vars.js b/test/compress/reduce_vars.js index 5906a971..556bcad2 100644 --- a/test/compress/reduce_vars.js +++ b/test/compress/reduce_vars.js @@ -1469,6 +1469,7 @@ issue_1670_1: { reduce_vars: true, side_effects: true, switches: true, + typeofs: true, unused: true, } input: { @@ -1532,6 +1533,7 @@ issue_1670_3: { reduce_vars: true, side_effects: true, switches: true, + typeofs: true, unused: true, } input: { |