From: Anthony Van de Gejuchte Date: Wed, 30 Nov 2016 20:54:23 +0000 (+0100) Subject: Add preventive test involving non-ascii function identifiers X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=da17766ddda3b89f94706ad7e329faa66a3e3a3e;p=UglifyJS.git Add preventive test involving non-ascii function identifiers --- diff --git a/test/compress/functions.js b/test/compress/functions.js new file mode 100644 index 00000000..3a8701b7 --- /dev/null +++ b/test/compress/functions.js @@ -0,0 +1,8 @@ +non_ascii_function_identifier_name: { + input: { + function fooλ(δλ) {} + function λ(δλ) {} + (function λ(δλ) {})() + } + expect_exact: "function fooλ(δλ){}function λ(δλ){}(function λ(δλ){})();" +}