aboutsummaryrefslogtreecommitdiff
path: root/test/compress
diff options
context:
space:
mode:
Diffstat (limited to 'test/compress')
-rw-r--r--test/compress/properties.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/compress/properties.js b/test/compress/properties.js
index d52680c2..f490fd86 100644
--- a/test/compress/properties.js
+++ b/test/compress/properties.js
@@ -19,12 +19,14 @@ dot_properties: {
a["if"] = "if";
a["*"] = "asterisk";
a["\u0EB3"] = "unicode";
+ a[""] = "whitespace";
}
expect: {
a.foo = "bar";
a["if"] = "if";
a["*"] = "asterisk";
a.\u0EB3 = "unicode";
+ a[""] = "whitespace";
}
}
@@ -38,11 +40,13 @@ dot_properties_es5: {
a["if"] = "if";
a["*"] = "asterisk";
a["\u0EB3"] = "unicode";
+ a[""] = "whitespace";
}
expect: {
a.foo = "bar";
a.if = "if";
a["*"] = "asterisk";
a.\u0EB3 = "unicode";
+ a[""] = "whitespace";
}
}