aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/compress/functions.js2
-rw-r--r--test/compress/reduce_vars.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/compress/functions.js b/test/compress/functions.js
index 8bfb2eaf..3027d59e 100644
--- a/test/compress/functions.js
+++ b/test/compress/functions.js
@@ -2676,7 +2676,7 @@ cross_references_3: {
};
return Math.square(n) + Math.cube(n);
};
- }(Math)(2));
+ }()(2));
console.log(Math.square(3), Math.cube(3));
}
expect_stdout: [
diff --git a/test/compress/reduce_vars.js b/test/compress/reduce_vars.js
index 153ac5d4..a79dd068 100644
--- a/test/compress/reduce_vars.js
+++ b/test/compress/reduce_vars.js
@@ -2415,7 +2415,7 @@ redefine_farg_2: {
console.log(typeof [], "number",function(a, b) {
a = b;
return typeof a;
- }([]));
+ }());
}
expect_stdout: "object number undefined"
}