From dd22eda888380be41f47bba1f6740b283fb099cc Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Wed, 12 Feb 2020 01:01:17 +0000 Subject: enhance `evaluate` (#3714) --- test/compress/reduce_vars.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'test/compress') diff --git a/test/compress/reduce_vars.js b/test/compress/reduce_vars.js index 3331732a..6db0a477 100644 --- a/test/compress/reduce_vars.js +++ b/test/compress/reduce_vars.js @@ -2071,13 +2071,8 @@ issue_1670_6: { } expect: { (function(a) { - switch (1) { - case a = 1: - console.log(a); - break; - default: - console.log(2); - } + a = 1; + console.log(a); })(1); } expect_stdout: "1" -- cgit v1.2.3