Browse Source

Add partials + change delimeters test

tags/0.5.0-vsc
Sahab Yazdani 15 years ago
parent
commit
e9a4d23b36
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      test/unit.js

+ 9
- 0
test/unit.js View File

@@ -717,4 +717,13 @@ test("Regression Suite", function() {
, 'foobar'
, 'Nested Sections with the same name'
);
equals(
Mustache.to_html(
'{{=~~ ~~=}} ~~>staticInfoPanel~~ ~~={{ }}=~~'
, {}
, { staticInfoPanel: 'Hello' }
)
, ' Hello '
, 'Change Delimiter + Partial');
});

Loading…
Cancel
Save