Parcourir la source

Add partials + change delimeters test

tags/0.5.0-vsc
Sahab Yazdani il y a 15 ans
Parent
révision
e9a4d23b36
1 fichiers modifiés avec 9 ajouts et 0 suppressions
  1. +9
    -0
      test/unit.js

+ 9
- 0
test/unit.js Voir le fichier

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

Chargement…
Annuler
Enregistrer