aboutsummaryrefslogtreecommitdiff
path: root/test/compress
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2021-03-20 22:33:45 +0000
committerGitHub <noreply@github.com>2021-03-21 06:33:45 +0800
commit8ea1ced389776400cf507cebc48c89f1865c27aa (patch)
treef29dc0800bb54cc0c6f3383d75c6dda6fc0125da /test/compress
parent24619daf684f4ed136616fad616bfb01238d1d30 (diff)
downloadtracifyjs-8ea1ced389776400cf507cebc48c89f1865c27aa.tar.gz
tracifyjs-8ea1ced389776400cf507cebc48c89f1865c27aa.zip
document various v8 bugs (#4808)
closes #4805
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"
}