api-builder: fix incorrect jasmine matcher in target package tests

This commit is contained in:
Peter Bacon Darwin 2015-11-10 11:36:23 +00:00
parent 93c187de2a
commit fc617d5a67
1 changed files with 2 additions and 2 deletions

View File

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