Add nested hyphen test cases

This commit is contained in:
kpdecker
2012-09-13 17:51:12 -05:00
parent 5a6e4f1ddd
commit aba2269ddb
+2
View File
@@ -138,6 +138,8 @@ test("functions", function() {
test("paths with hyphens", function() {
shouldCompileTo("{{foo-bar}}", {"foo-bar": "baz"}, "baz", "Paths can contain hyphens (-)");
shouldCompileTo("{{foo.foo-bar}}", {foo: {"foo-bar": "baz"}}, "baz", "Paths can contain hyphens (-)");
shouldCompileTo("{{foo/foo-bar}}", {foo: {"foo-bar": "baz"}}, "baz", "Paths can contain hyphens (-)");
});
test("nested paths", function() {