aboutsummaryrefslogtreecommitdiff
path: root/test/compress
diff options
context:
space:
mode:
Diffstat (limited to 'test/compress')
-rw-r--r--test/compress/classes.js2
-rw-r--r--test/compress/loops.js5
2 files changed, 2 insertions, 5 deletions
diff --git a/test/compress/classes.js b/test/compress/classes.js
index 46749a27..7a9dfc51 100644
--- a/test/compress/classes.js
+++ b/test/compress/classes.js
@@ -725,7 +725,7 @@ unused_await: {
(() => console.log(await))();
})();
}
- expect_stdout: "PASS"
+ expect_stdout: true
node_version: ">=12"
}
diff --git a/test/compress/loops.js b/test/compress/loops.js
index b1128f1a..5a66e02c 100644
--- a/test/compress/loops.js
+++ b/test/compress/loops.js
@@ -836,10 +836,7 @@ for_of: {
console.log(async);
}
expect_exact: 'var async=["PASS",42];async.p="FAIL";for(async of(null,async))console.log(async);'
- expect_stdout: [
- "PASS",
- "42",
- ]
+ expect_stdout: true
node_version: ">=0.12"
}