aboutsummaryrefslogtreecommitdiff
path: root/test/compress
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2017-03-31 18:47:44 +0800
committerGitHub <noreply@github.com>2017-03-31 18:47:44 +0800
commit1ddc05725d078ccf73d711e376c3c530cd517cdb (patch)
tree84bcddd442984e672bc04942745e8dcf6bfaae89 /test/compress
parente6b76a48790cc3659c53673d0cc2a962acec3379 (diff)
downloadtracifyjs-1ddc05725d078ccf73d711e376c3c530cd517cdb.tar.gz
tracifyjs-1ddc05725d078ccf73d711e376c3c530cd517cdb.zip
combine rules for binary boolean operations (#1744)
Diffstat (limited to 'test/compress')
-rw-r--r--test/compress/issue-1261.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/compress/issue-1261.js b/test/compress/issue-1261.js
index a872c578..343c175b 100644
--- a/test/compress/issue-1261.js
+++ b/test/compress/issue-1261.js
@@ -154,12 +154,12 @@ should_warn: {
"WARN: Boolean || always true [test/compress/issue-1261.js:129,23]",
"WARN: Dropping __PURE__ call [test/compress/issue-1261.js:129,23]",
"WARN: Condition always true [test/compress/issue-1261.js:129,23]",
- "WARN: Boolean || always true [test/compress/issue-1261.js:130,8]",
+ "WARN: Condition left of || always true [test/compress/issue-1261.js:130,8]",
"WARN: Condition always true [test/compress/issue-1261.js:130,8]",
"WARN: Boolean && always false [test/compress/issue-1261.js:131,23]",
"WARN: Dropping __PURE__ call [test/compress/issue-1261.js:131,23]",
"WARN: Condition always false [test/compress/issue-1261.js:131,23]",
- "WARN: Boolean && always false [test/compress/issue-1261.js:132,8]",
+ "WARN: Condition left of && always false [test/compress/issue-1261.js:132,8]",
"WARN: Condition always false [test/compress/issue-1261.js:132,8]",
"WARN: + in boolean context always true [test/compress/issue-1261.js:133,23]",
"WARN: Dropping __PURE__ call [test/compress/issue-1261.js:133,23]",