Skip to content

Commit

Permalink
[Tests] Fix false negatives in IE 6-8 with jasmine comparing arrays t…
Browse files Browse the repository at this point in the history
…o arraylikes.

Relates to b9b8272 and #114.
  • Loading branch information
ljharb committed Nov 8, 2015
1 parent f653d47 commit 22a3e17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/spec/s-array.js
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ describe('Array', function () {
}
return true;
});
expect(arr).toEqual([1, 2, 3, 4, 5, 6]);
expect(Array.prototype.slice.call(arr)).toEqual([1, 2, 3, 4, 5, 6]);
expect(i).toBe(3);
});

Expand Down Expand Up @@ -855,7 +855,7 @@ describe('Array', function () {
i += 1;
return o;
});
expect(arr).toEqual([1, 2, 3, 4, 5, 6]);
expect(Array.prototype.slice.call(arr)).toEqual([1, 2, 3, 4, 5, 6]);
expect(i).toBe(3);
});

Expand Down

0 comments on commit 22a3e17

Please sign in to comment.