From 5ffc17d4aa36c40a4d5ebe558edbc734b45ca1dc Mon Sep 17 00:00:00 2001 From: alexlamsl Date: Sun, 1 Jul 2018 14:34:42 +0800 Subject: fix corner case in `unused` --- test/compress/global_defs.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/compress/global_defs.js') diff --git a/test/compress/global_defs.js b/test/compress/global_defs.js index 7b72819f..ea8d6cec 100644 --- a/test/compress/global_defs.js +++ b/test/compress/global_defs.js @@ -2,7 +2,7 @@ must_replace: { options = { global_defs: { D: "foo bar", - } + }, } input: { console.log(D); @@ -141,9 +141,9 @@ mixed: { console.log(CONFIG); } expect_warnings: [ - 'WARN: global_defs CONFIG.VALUE redefined [test/compress/global_defs.js:127,22]', - 'WARN: global_defs CONFIG.VALUE redefined [test/compress/global_defs.js:128,22]', - 'WARN: global_defs CONFIG.VALUE redefined [test/compress/global_defs.js:130,8]', + "WARN: global_defs CONFIG.VALUE redefined [test/compress/global_defs.js:127,22]", + "WARN: global_defs CONFIG.VALUE redefined [test/compress/global_defs.js:128,22]", + "WARN: global_defs CONFIG.VALUE redefined [test/compress/global_defs.js:130,8]", ] } -- cgit v1.2.3