diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2021-02-06 04:39:46 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-06 12:39:46 +0800 |
commit | 5359900b78fdf3006dafc13a206332d2fb2b1ea4 (patch) | |
tree | 3f6878238a8c69655820811b6c25cede25866d94 /test/compress/evaluate.js | |
parent | 739fa266f80802f75838cc4053e615b27abcf361 (diff) | |
download | tracifyjs-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.js | 3 |
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", |