diff options
author | Mihai Bazon <mihai.bazon@gmail.com> | 2015-01-20 13:00:31 +0200 |
---|---|---|
committer | Mihai Bazon <mihai.bazon@gmail.com> | 2015-01-20 13:00:31 +0200 |
commit | d36067cd35fbe35fa35ab2e8a250835a2f7ff5a2 (patch) | |
tree | 83a83f3ed83f44b779a9a16863b8d6cc529e1690 /test | |
parent | a1a4c2ada70760851c63a7e3ff51ee7f786d3e8f (diff) | |
parent | f1b2134dd140dc927accaf336c7b71cd151a8780 (diff) | |
download | tracifyjs-d36067cd35fbe35fa35ab2e8a250835a2f7ff5a2.tar.gz tracifyjs-d36067cd35fbe35fa35ab2e8a250835a2f7ff5a2.zip |
Merge pull request #615 from avdg/unicode
Give parser more unicode support
Diffstat (limited to 'test')
-rw-r--r-- | test/compress/unicode.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/compress/unicode.js b/test/compress/unicode.js new file mode 100644 index 00000000..9fb9ab8c --- /dev/null +++ b/test/compress/unicode.js @@ -0,0 +1,17 @@ +unicode_parse_variables: { + options = {}; + input: { + var a = {}; + a.你好 = 456; + + var ↂωↂ = 123; + var l০ = 3; // 2nd char is a unicode digit + } + expect: { + var a = {}; + a.你好 = 456; + + var ↂωↂ = 123; + var l০ = 3; + } +} |