[Pkg-javascript-commits] [uglifyjs] 40/77: Add test

Jonas Smedegaard dr at jones.dk
Tue May 19 00:02:30 UTC 2015


This is an automated email from the git hooks/post-receive script.

js pushed a commit to tag v2.4.18
in repository uglifyjs.

commit f1b2134dd140dc927accaf336c7b71cd151a8780
Author: Anthony Van de Gejuchte <anthonyvdgent at yahoo.com>
Date:   Tue Jan 20 00:31:44 2015 +0100

    Add test
---
 test/compress/unicode.js | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/test/compress/unicode.js b/test/compress/unicode.js
new file mode 100644
index 0000000..9fb9ab8
--- /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;
+    }
+}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/uglifyjs.git



More information about the Pkg-javascript-commits mailing list