Added scenario in test case where properties shouldn't be accessed with

dotted syntax even with screw_ie8 option.
Signed-off-by: Justin Lau <justin@tclau.com>
This commit is contained in:
Justin Lau
2013-05-05 22:08:13 +08:00
parent d6e6458f68
commit 8227e8795b

View File

@@ -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";
}
}