Browse Source

Fix exception message expectation.

tags/0.5.0-vsc
Sahab Yazdani 15 years ago
parent
commit
2395d5c2bc
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      test/unit.js

+ 2
- 2
test/unit.js View File

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


Loading…
Cancel
Save