diff options
Diffstat (limited to 'spec/qunit_spec.js')
-rw-r--r-- | spec/qunit_spec.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/qunit_spec.js b/spec/qunit_spec.js index 241292d..e984969 100644 --- a/spec/qunit_spec.js +++ b/spec/qunit_spec.js @@ -107,6 +107,10 @@ test("functions with context argument", function() { "Frank", "functions are called with context arguments"); }); +test("paths with hyphens", function() { + shouldCompileTo("{{foo-bar}}", {"foo-bar": "baz"}, "baz", "Paths can contain hyphens (-)"); +}); + test("nested paths", function() { shouldCompileTo("Goodbye {{alan/expression}} world!", {alan: {expression: "beautiful"}}, "Goodbye beautiful world!", "Nested paths access nested objects"); |