diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2017-03-21 14:11:32 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-21 14:11:32 +0800 |
commit | 4bceb85cbfa2c944fb97bb3baaa403b266d075c6 (patch) | |
tree | 09a7b11b9dcd74216c5166cffd4d10c749f84094 /test/compress | |
parent | 30a75049f540bc8c2040b4f23f42abffdd2d6735 (diff) | |
download | tracifyjs-4bceb85cbfa2c944fb97bb3baaa403b266d075c6.tar.gz tracifyjs-4bceb85cbfa2c944fb97bb3baaa403b266d075c6.zip |
throw parse error on invalid assignments (#1627)
fixes #1626
Diffstat (limited to 'test/compress')
-rw-r--r-- | test/compress/html_comments.js | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/test/compress/html_comments.js b/test/compress/html_comments.js index 8495b433..fe6ff8ac 100644 --- a/test/compress/html_comments.js +++ b/test/compress/html_comments.js @@ -47,22 +47,6 @@ html_comment_in_greater_than_or_equal: { expect_exact: "function f(a,b){return a-- >=b}"; } -html_comment_in_right_shift_assign: { - input: { - // Note: illegal javascript - function f(a, b) { return a-- >>= b; } - } - expect_exact: "function f(a,b){return a-- >>=b}"; -} - -html_comment_in_zero_fill_right_shift_assign: { - input: { - // Note: illegal javascript - function f(a, b) { return a-- >>>= b; } - } - expect_exact: "function f(a,b){return a-- >>>=b}"; -} - html_comment_in_string_literal: { input: { function f() { return "<!--HTML-->comment in<!--string literal-->"; } |