#1048 - fixed toThrow expectation

This commit is contained in:
Kevin Logan
2016-02-17 12:16:54 -06:00
parent bee8132848
commit 44b56093e7

View File

@@ -24,7 +24,7 @@ describe("toHaveBeenCalledTimes", function() {
spy();
expect(function() {
matcher.compare(spy);
}).toThrowError('Expected times failed is required as an argument.');
}).toThrowError('The expected times failed is a required argument and must be a number.');
});
it("fails when the actual was called less than the expected", function() {