aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnthony Van de Gejuchte <anthonyvdgent@yahoo.com>2015-01-20 00:31:44 +0100
committerAnthony Van de Gejuchte <anthonyvdgent@yahoo.com>2015-01-20 00:31:44 +0100
commitf1b2134dd140dc927accaf336c7b71cd151a8780 (patch)
tree830ef8b98ceb6099f2d9e3b99d82338c03146062 /test
parent74cda80d3b340e7b0b0bc99d49b4b99e15d27094 (diff)
downloadtracifyjs-f1b2134dd140dc927accaf336c7b71cd151a8780.tar.gz
tracifyjs-f1b2134dd140dc927accaf336c7b71cd151a8780.zip
Add test
Diffstat (limited to 'test')
-rw-r--r--test/compress/unicode.js17
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;
+ }
+}