Ver código fonte

Add partials + change delimeters test

tags/0.5.0-vsc
Sahab Yazdani 15 anos atrás
pai
commit
e9a4d23b36
1 arquivos alterados com 9 adições e 0 exclusões
  1. +9
    -0
      test/unit.js

+ 9
- 0
test/unit.js Ver arquivo

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

Carregando…
Cancelar
Salvar