aboutsummaryrefslogtreecommitdiff
path: root/test/compress/issue-1034.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/compress/issue-1034.js')
-rw-r--r--test/compress/issue-1034.js18
1 files changed, 8 insertions, 10 deletions
diff --git a/test/compress/issue-1034.js b/test/compress/issue-1034.js
index f2a89e33..e8b69187 100644
--- a/test/compress/issue-1034.js
+++ b/test/compress/issue-1034.js
@@ -59,7 +59,6 @@ non_hoisted_function_after_return_2a: {
passes: 2,
side_effects: true,
unused: true,
- warnings: "verbose",
}
input: {
function foo(x) {
@@ -91,13 +90,13 @@ non_hoisted_function_after_return_2a: {
"WARN: Declarations in unreachable code! [test/compress/issue-1034.js:7,16]",
"WARN: Dropping unused variable a [test/compress/issue-1034.js:4,20]",
"WARN: Dropping unused function nope [test/compress/issue-1034.js:11,21]",
- "WARN: pass 0: last_count: Infinity, count: 37",
+ "INFO: pass 0: last_count: Infinity, count: 37",
"WARN: Dropping unreachable code [test/compress/issue-1034.js:9,12]",
"WARN: Declarations in unreachable code! [test/compress/issue-1034.js:9,12]",
"WARN: Dropping unreachable code [test/compress/issue-1034.js:12,12]",
- "WARN: Dropping unused variable b [test/compress/issue-1034.js:7,20]",
- "WARN: Dropping unused variable c [test/compress/issue-1034.js:9,16]",
- "WARN: pass 1: last_count: 37, count: 18",
+ "INFO: Dropping unused variable b [test/compress/issue-1034.js:7,20]",
+ "INFO: Dropping unused variable c [test/compress/issue-1034.js:9,16]",
+ "INFO: pass 1: last_count: 37, count: 18",
]
}
@@ -213,7 +212,6 @@ non_hoisted_function_after_return_2a_strict: {
passes: 2,
side_effects: true,
unused: true,
- warnings: "verbose",
}
input: {
"use strict";
@@ -250,13 +248,13 @@ non_hoisted_function_after_return_2a_strict: {
"WARN: Declarations in unreachable code! [test/compress/issue-1034.js:8,16]",
"WARN: Dropping unused variable a [test/compress/issue-1034.js:5,20]",
"WARN: Dropping unused function nope [test/compress/issue-1034.js:12,21]",
- "WARN: pass 0: last_count: Infinity, count: 48",
+ "INFO: pass 0: last_count: Infinity, count: 48",
"WARN: Dropping unreachable code [test/compress/issue-1034.js:10,12]",
"WARN: Declarations in unreachable code! [test/compress/issue-1034.js:10,12]",
"WARN: Dropping unreachable code [test/compress/issue-1034.js:13,12]",
- "WARN: Dropping unused variable b [test/compress/issue-1034.js:8,20]",
- "WARN: Dropping unused variable c [test/compress/issue-1034.js:10,16]",
- "WARN: pass 1: last_count: 48, count: 29",
+ "INFO: Dropping unused variable b [test/compress/issue-1034.js:8,20]",
+ "INFO: Dropping unused variable c [test/compress/issue-1034.js:10,16]",
+ "INFO: pass 1: last_count: 48, count: 29",
]
}