Skip to content

Commit

Permalink
Add nested hyphen test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
kpdecker committed Sep 13, 2012
1 parent 5a6e4f1 commit aba2269
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/qunit_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit aba2269

Please sign in to comment.