diff --git a/lib/jasmine-core/jasmine.js b/lib/jasmine-core/jasmine.js index 3460c7c9..ac4b279d 100644 --- a/lib/jasmine-core/jasmine.js +++ b/lib/jasmine-core/jasmine.js @@ -819,7 +819,7 @@ getJasmineRequireObj().Any = function() { }; Any.prototype.jasmineToString = function() { - return ''; + return ''; }; return Any; diff --git a/spec/core/AnySpec.js b/spec/core/AnySpec.js index f4960f2c..139a4133 100644 --- a/spec/core/AnySpec.js +++ b/spec/core/AnySpec.js @@ -40,6 +40,7 @@ describe("Any", function() { var any = new j$.Any(Number); expect(any.jasmineToString()).toMatch(''; + return ''; }; return Any;