aboutsummaryrefslogtreecommitdiff
path: root/test/compress/transform.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/transform.js
parentb29d435bb5bc4d883a23efaabd76e95092352b6c (diff)
downloadtracifyjs-20ca0f5906c68df11d2f44e8b381212672afc6e1.tar.gz
tracifyjs-20ca0f5906c68df11d2f44e8b381212672afc6e1.zip
improve truthy compression (#3009)
Diffstat (limited to 'test/compress/transform.js')
-rw-r--r--test/compress/transform.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/compress/transform.js b/test/compress/transform.js
index 58874cd6..867b8ade 100644
--- a/test/compress/transform.js
+++ b/test/compress/transform.js
@@ -59,7 +59,7 @@ if_else_empty: {
if ({} ? a : b); else {}
}
expect: {
- !{} ? b : a;
+ ({}), a;
}
}