chore(doc-gen): fix target-package tests

This commit is contained in:
Peter Bacon Darwin 2015-12-09 11:51:52 +00:00
parent 3ede7bfea9
commit 46735ad925
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ describe('target inline-tag-def', function() {
te.removeAllowed('b');
expect(te.isActive('a')).toBe(false);
expect(function() { te.isActive('b'); })
.toThrow('Error accessing target "b". It is not in the list of allowed targets: a');
.toThrowError('Error accessing target "b". It is not in the list of allowed targets: a');
});
});
@ -99,7 +99,7 @@ describe('target inline-tag-def', function() {
expect(te.someActive([])).toBe(false);
expect(function() { te.someActive('d'); })
.toThrow('Error accessing target "d". It is not in the list of allowed targets: a,b,c');
.toThrowError('Error accessing target "d". It is not in the list of allowed targets: a,b,c');
});
});
});