Pārlūkot izejas kodu

Add partials + change delimeters test

tags/0.5.0-vsc
Sahab Yazdani pirms 15 gadiem
vecāks
revīzija
e9a4d23b36
1 mainītis faili ar 9 papildinājumiem un 0 dzēšanām
  1. +9
    -0
      test/unit.js

+ 9
- 0
test/unit.js Parādīt failu

@@ -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');
});

Notiek ielāde…
Atcelt
Saglabāt