From c391576d52852322a7fcfbaeabc9d5626e628c8b Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Fri, 12 May 2017 14:57:41 +0800 Subject: remove support for `const` (#1910) As this is not part of ES5. --- test/compress/issue-208.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/compress/issue-208.js') diff --git a/test/compress/issue-208.js b/test/compress/issue-208.js index fb9861f6..faaf4139 100644 --- a/test/compress/issue-208.js +++ b/test/compress/issue-208.js @@ -38,7 +38,7 @@ mixed: { } } input: { - const ENV = 3; + var ENV = 3; var FOO = 4; f(ENV * 10); --FOO; @@ -49,7 +49,7 @@ mixed: { x = DEBUG; } expect: { - const ENV = 3; + var ENV = 3; var FOO = 4; f(10); --FOO; @@ -60,7 +60,7 @@ mixed: { x = 0; } expect_warnings: [ - 'WARN: global_defs ENV redefined [test/compress/issue-208.js:41,14]', + 'WARN: global_defs ENV redefined [test/compress/issue-208.js:41,12]', 'WARN: global_defs FOO redefined [test/compress/issue-208.js:42,12]', 'WARN: global_defs FOO redefined [test/compress/issue-208.js:44,10]', 'WARN: global_defs DEBUG redefined [test/compress/issue-208.js:45,8]', -- cgit v1.2.3