aboutsummaryrefslogtreecommitdiff
path: root/test/compress
diff options
context:
space:
mode:
Diffstat (limited to 'test/compress')
-rw-r--r--test/compress/sandbox.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/compress/sandbox.js b/test/compress/sandbox.js
index f932dcf5..9111e319 100644
--- a/test/compress/sandbox.js
+++ b/test/compress/sandbox.js
@@ -176,13 +176,13 @@ issue_4054: {
issue_4811_1: {
input: {
for (var PASS in this);
- console.log(PASS, this);
+ console.log(PASS, this, {} < this);
}
expect: {
for (var PASS in this);
- console.log(PASS, this);
+ console.log(PASS, this, {} < this);
}
- expect_stdout: "PASS [object global]"
+ expect_stdout: "PASS [object global] true"
}
issue_4811_2: {
@@ -192,12 +192,12 @@ issue_4811_2: {
input: {
(async function() {});
for (var PASS in this);
- console.log(PASS, this);
+ console.log(PASS, this, {} < this);
}
expect: {
for (var PASS in this);
- console.log(PASS, this);
+ console.log(PASS, this, {} < this);
}
- expect_stdout: "PASS [object global]"
+ expect_stdout: "PASS [object global] true"
node_version: ">=8"
}