diff --git a/spec/core/asymmetric_equality/AnySpec.js b/spec/core/asymmetric_equality/AnySpec.js index fc485d41..a1caaea5 100644 --- a/spec/core/asymmetric_equality/AnySpec.js +++ b/spec/core/asymmetric_equality/AnySpec.js @@ -22,7 +22,7 @@ describe("Any", function() { expect(any.asymmetricMatch({})).toBe(true); }); - + it("matches a Boolean", function() { var any = new j$.Any(Boolean); @@ -39,8 +39,7 @@ describe("Any", function() { it("jasmineToString's itself", function() { var any = new j$.Any(Number); - expect(any.jasmineToString()).toMatch(''); }); }); diff --git a/src/core/asymmetric_equality/Any.js b/src/core/asymmetric_equality/Any.js index 388ba22e..044a8507 100644 --- a/src/core/asymmetric_equality/Any.js +++ b/src/core/asymmetric_equality/Any.js @@ -29,7 +29,7 @@ getJasmineRequireObj().Any = function() { }; Any.prototype.jasmineToString = function() { - return ''; + return ''; }; return Any;