Skip to content

Commit

Permalink
Fix exception message expectation.
Browse files Browse the repository at this point in the history
  • Loading branch information
thegrandpoobah committed Apr 26, 2011
1 parent 084ad6d commit 2395d5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}}' };
Expand Down

0 comments on commit 2395d5c

Please sign in to comment.