wrote more of the compressor and added some tests

This commit is contained in:
Mihai Bazon
2012-08-22 15:21:58 +03:00
parent f53e139d3c
commit 159a6f048c
10 changed files with 497 additions and 19 deletions

View File

@@ -0,0 +1,25 @@
keep_properties: {
options = {
properties: false
};
input: {
a["foo"] = "bar";
}
expect: {
a["foo"] = "bar";
}
}
dot_properties: {
options = {
properties: true
};
input: {
a["foo"] = "bar";
a["if"] = "if";
}
expect: {
a.foo = "bar";
a["if"] = "if";
}
}