Sfoglia il codice sorgente

Fix exception message expectation.

tags/0.5.0-vsc
Sahab Yazdani 15 anni fa
parent
commit
2395d5c2bc
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      test/unit.js

+ 2
- 2
test/unit.js Vedi File

@@ -52,9 +52,9 @@ test("Parser", function() {
{} {}
); );
}, function(e) { }, function(e) {
return e.message === 'Unexpected end of document.';
return e.message === 'Malformed change delimiter token: {{=tag1}}';
}, },
'Malformed change delimiter token: {{=tag1}}'
'Malformed tags should be handled correctly.'
); );
//var partials = { 'partial' : '{{key}}' }; //var partials = { 'partial' : '{{key}}' };


Loading…
Annulla
Salva