aboutsummaryrefslogtreecommitdiff
path: root/test/compress/drop-unused.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/compress/drop-unused.js')
-rw-r--r--test/compress/drop-unused.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/compress/drop-unused.js b/test/compress/drop-unused.js
index 15420d8a..bc18db9a 100644
--- a/test/compress/drop-unused.js
+++ b/test/compress/drop-unused.js
@@ -815,9 +815,9 @@ issue_1583: {
}
expect: {
function m(t) {
- (function(e) {
+ (function() {
(function() {
- return (function(a) {
+ return (function() {
return function(a) {};
})();
})();
@@ -1329,7 +1329,7 @@ issue_2226_2: {
}(1, 2));
}
expect: {
- console.log(function(a, b) {
+ console.log(function(a) {
return a += 2;
}(1));
}
@@ -1349,7 +1349,7 @@ issue_2226_3: {
}(1, 2));
}
expect: {
- console.log(function(a, b) {
+ console.log(function(a) {
return a += 2;
}(1));
}
@@ -1702,11 +1702,11 @@ chained_3: {
}(1, 2));
}
expect: {
- console.log(function(a, b) {
+ console.log(function(b) {
var c = b;
b++;
return c;
- }(0, 2));
+ }(2));
}
expect_stdout: "2"
}