From: Anthony Van de Gejuchte Date: Mon, 19 Jan 2015 23:31:44 +0000 (+0100) Subject: Add test X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=f1b2134dd140dc927accaf336c7b71cd151a8780;p=UglifyJS.git Add test --- 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; + } +}