From 1ddc05725d078ccf73d711e376c3c530cd517cdb Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Fri, 31 Mar 2017 18:47:44 +0800 Subject: combine rules for binary boolean operations (#1744) --- test/compress/issue-1261.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/compress') 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]", -- cgit v1.2.3