aboutsummaryrefslogtreecommitdiff
path: root/test/compress/evaluate.js
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2021-02-06 04:39:46 +0000
committerGitHub <noreply@github.com>2021-02-06 12:39:46 +0800
commit5359900b78fdf3006dafc13a206332d2fb2b1ea4 (patch)
tree3f6878238a8c69655820811b6c25cede25866d94 /test/compress/evaluate.js
parent739fa266f80802f75838cc4053e615b27abcf361 (diff)
downloadtracifyjs-5359900b78fdf3006dafc13a206332d2fb2b1ea4.tar.gz
tracifyjs-5359900b78fdf3006dafc13a206332d2fb2b1ea4.zip
enhance `compress` on arrow and `async` functions (#4616)
Diffstat (limited to 'test/compress/evaluate.js')
-rw-r--r--test/compress/evaluate.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/compress/evaluate.js b/test/compress/evaluate.js
index 2b1bbc01..f579ee72 100644
--- a/test/compress/evaluate.js
+++ b/test/compress/evaluate.js
@@ -703,6 +703,7 @@ prototype_function: {
var g = 0();
var h = 0();
}
+ expect_stdout: true
}
call_args: {
@@ -2800,7 +2801,7 @@ operator_in: {
console.log("PASS" in { });
console.log("FAIL" in { });
console.log("toString" in { });
- console.log(true);
+ console.log("toString" in { toString: 3 });
}
expect_stdout: [
"true",