Przeglądaj źródła

Fix exception message expectation.

tags/0.5.0-vsc
Sahab Yazdani 15 lat temu
rodzic
commit
2395d5c2bc
1 zmienionych plików z 2 dodań i 2 usunięć
  1. +2
    -2
      test/unit.js

+ 2
- 2
test/unit.js Wyświetl plik

@@ -52,9 +52,9 @@ test("Parser", function() {
{}
);
}, 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}}' };


Ładowanie…
Anuluj
Zapisz