diff --git a/spec/core/PrettyPrintSpec.js b/spec/core/PrettyPrintSpec.js index a834a1d1..d15aae10 100644 --- a/spec/core/PrettyPrintSpec.js +++ b/spec/core/PrettyPrintSpec.js @@ -263,9 +263,9 @@ describe("jasmineUnderTest.pp", function () { }; if (jasmine.getEnv().ieVersion < 9) { - expect(jasmineUnderTest.pp(obj)).toEqual("Object({ toString: 'foo' })"); - } else { expect(jasmineUnderTest.pp(obj)).toEqual("Object({ })"); + } else { + expect(jasmineUnderTest.pp(obj)).toEqual("Object({ toString: 'foo' })"); } });