Fix tests for toEqual diff output in IE
- Merges #1236 from @benchristel
This commit is contained in:
committed by
Gregg Van Hove
parent
54e7a82ef3
commit
41a813521b
@@ -100,8 +100,8 @@ describe("jasmineUnderTest.pp", function () {
|
||||
});
|
||||
|
||||
it("should print 'null' as the constructor of an object with its own constructor property", function() {
|
||||
expect(jasmineUnderTest.pp({constructor: function() {}})).toEqual("null({ constructor: Function })");
|
||||
expect(jasmineUnderTest.pp({constructor: 'foo'})).toEqual("null({ constructor: 'foo' })");
|
||||
expect(jasmineUnderTest.pp({constructor: function() {}})).toContain("null({");
|
||||
expect(jasmineUnderTest.pp({constructor: 'foo'})).toContain("null({");
|
||||
});
|
||||
|
||||
it("should not include inherited properties when stringifying an object", function() {
|
||||
|
||||
Reference in New Issue
Block a user