aboutsummaryrefslogtreecommitdiff
path: root/test/compress/global_defs.js
diff options
context:
space:
mode:
authoralexlamsl <alexlamsl@gmail.com>2018-07-01 14:34:42 +0800
committeralexlamsl <alexlamsl@gmail.com>2018-07-01 14:34:42 +0800
commit5ffc17d4aa36c40a4d5ebe558edbc734b45ca1dc (patch)
tree12f66c5bbd9b93a5f468cfad7349acea0900df28 /test/compress/global_defs.js
parent6aa750010f23acdc24078a5d7e66cef009cbf570 (diff)
downloadtracifyjs-5ffc17d4aa36c40a4d5ebe558edbc734b45ca1dc.tar.gz
tracifyjs-5ffc17d4aa36c40a4d5ebe558edbc734b45ca1dc.zip
fix corner case in `unused`
Diffstat (limited to 'test/compress/global_defs.js')
-rw-r--r--test/compress/global_defs.js8
1 files changed, 4 insertions, 4 deletions
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]",
]
}