Просмотр исходного кода

Add partials + change delimeters test

tags/0.5.0-vsc
Sahab Yazdani 15 лет назад
Родитель
Сommit
e9a4d23b36
1 измененных файлов: 9 добавлений и 0 удалений
  1. +9
    -0
      test/unit.js

+ 9
- 0
test/unit.js Просмотреть файл

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

Загрузка…
Отмена
Сохранить