aboutsummaryrefslogtreecommitdiff
path: root/test/compress/properties.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/compress/properties.js')
-rw-r--r--test/compress/properties.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/compress/properties.js b/test/compress/properties.js
index 72e245ec..9b066ec9 100644
--- a/test/compress/properties.js
+++ b/test/compress/properties.js
@@ -23,3 +23,18 @@ dot_properties: {
a["if"] = "if";
}
}
+
+dot_properties_es5: {
+ options = {
+ properties: true,
+ screw_ie8: true
+ };
+ input: {
+ a["foo"] = "bar";
+ a["if"] = "if";
+ }
+ expect: {
+ a.foo = "bar";
+ a.if = "if";
+ }
+}