aboutsummaryrefslogtreecommitdiff
path: root/test/compress/reduce_vars.js
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2017-12-01 12:52:36 +0800
committerGitHub <noreply@github.com>2017-12-01 12:52:36 +0800
commit09b320e8a5ec85410bf323573b76f2da7e08e2ee (patch)
treeff9ab90c53922d43b709f79c8bb0e6c53ece4219 /test/compress/reduce_vars.js
parent5a1e99d713fd0ca4ca4a012422a767c138a75606 (diff)
downloadtracifyjs-09b320e8a5ec85410bf323573b76f2da7e08e2ee.tar.gz
tracifyjs-09b320e8a5ec85410bf323573b76f2da7e08e2ee.zip
convert to number under boolean context (#2545)
Diffstat (limited to 'test/compress/reduce_vars.js')
-rw-r--r--test/compress/reduce_vars.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/compress/reduce_vars.js b/test/compress/reduce_vars.js
index bcfa7b35..4a098f78 100644
--- a/test/compress/reduce_vars.js
+++ b/test/compress/reduce_vars.js
@@ -2347,7 +2347,7 @@ booleans: {
}
expect: {
console.log(function(a) {
- if (!1);
+ if (0);
switch (!1) {
case 0:
return "FAIL";