Explorar el Código

fix typo in parse-caching/Mustache.tags test

tags/v2.3.1
raymond.lam hace 8 años
padre
commit
198a5657be
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      test/parse-test.js

+ 1
- 1
test/parse-test.js Ver fichero

@@ -124,7 +124,7 @@ describe('Mustache.parse', function () {
describe('when parsing a template after already having parsed that template with a different Mustache.tags', function() { describe('when parsing a template after already having parsed that template with a different Mustache.tags', function() {
it('returns different tokens for the latter parse', function() { it('returns different tokens for the latter parse', function() {
var template = "{{foo}}[bar]"; var template = "{{foo}}[bar]";
var parsedWithBraces = Mustache.parse(template, ['(', ')']);
var parsedWithBraces = Mustache.parse(template);


var oldTags = Mustache.tags; var oldTags = Mustache.tags;
Mustache.tags = ['[', ']']; Mustache.tags = ['[', ']'];


Cargando…
Cancelar
Guardar