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 9b066ec9..118bc4c2 100644
--- a/test/compress/properties.js
+++ b/test/compress/properties.js
@@ -17,10 +17,12 @@ dot_properties: {
input: {
a["foo"] = "bar";
a["if"] = "if";
+ a["*"] = "asterisk";
}
expect: {
a.foo = "bar";
a["if"] = "if";
+ a["*"] = "asterisk";
}
}
@@ -32,9 +34,11 @@ dot_properties_es5: {
input: {
a["foo"] = "bar";
a["if"] = "if";
+ a["*"] = "asterisk";
}
expect: {
a.foo = "bar";
a.if = "if";
+ a["*"] = "asterisk";
}
}