Fixed matchersUtil.contains test to fail correctly
This commit is contained in:
@@ -620,7 +620,7 @@ describe("matchersUtil", function() {
|
|||||||
it("uses custom equality testers if passed in and actual is an Array", function() {
|
it("uses custom equality testers if passed in and actual is an Array", function() {
|
||||||
var customTester = function(a, b) {return true;};
|
var customTester = function(a, b) {return true;};
|
||||||
|
|
||||||
expect(jasmineUnderTest.matchersUtil.contains([1, 2], 2, [customTester])).toBe(true);
|
expect(jasmineUnderTest.matchersUtil.contains([1, 2], 3, [customTester])).toBe(true);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("fails when actual is undefined", function() {
|
it("fails when actual is undefined", function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user