aboutsummaryrefslogtreecommitdiff
path: root/test/compress/negate-iife.js
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2018-03-16 06:12:59 +0800
committerGitHub <noreply@github.com>2018-03-16 06:12:59 +0800
commit20ca0f5906c68df11d2f44e8b381212672afc6e1 (patch)
tree2a2fd0feb19255c26d3cd8167776804d10beb04c /test/compress/negate-iife.js
parentb29d435bb5bc4d883a23efaabd76e95092352b6c (diff)
downloadtracifyjs-20ca0f5906c68df11d2f44e8b381212672afc6e1.tar.gz
tracifyjs-20ca0f5906c68df11d2f44e8b381212672afc6e1.zip
improve truthy compression (#3009)
Diffstat (limited to 'test/compress/negate-iife.js')
-rw-r--r--test/compress/negate-iife.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/compress/negate-iife.js b/test/compress/negate-iife.js
index 66d24270..17148cad 100644
--- a/test/compress/negate-iife.js
+++ b/test/compress/negate-iife.js
@@ -67,7 +67,7 @@ negate_iife_3_evaluate: {
(function(){ return true })() ? console.log(true) : console.log(false);
}
expect: {
- console.log(true);
+ true, console.log(true);
}
expect_stdout: true
}
@@ -110,7 +110,7 @@ negate_iife_3_off_evaluate: {
(function(){ return true })() ? console.log(true) : console.log(false);
}
expect: {
- console.log(true);
+ true, console.log(true);
}
expect_stdout: true
}