Updated the error name.
This commit is contained in:
parent
f308509e10
commit
fc30b33b24
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ describe('Kiwi.compose - %{}', function() {
|
||||||
it('should throw a syntax error.',function() {
|
it('should throw a syntax error.',function() {
|
||||||
var input = "The quick brown %{f jumps over the lazy dog.";
|
var input = "The quick brown %{f jumps over the lazy dog.";
|
||||||
var dic = {"f": "fox", "d": "dog"};
|
var dic = {"f": "fox", "d": "dog"};
|
||||||
expect(function(){Kiwi.compose(input, dic)}).toThrow(Error("Syntax error."));
|
expect(function(){Kiwi.compose(input, dic)}).toThrow(Error("SYNTAX ERROR"));
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should ignore when the variable is not available',function() {
|
it('should ignore when the variable is not available',function() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue