diff options
Diffstat (limited to 'test/angular-mocksSpec.js')
| -rw-r--r-- | test/angular-mocksSpec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/angular-mocksSpec.js b/test/angular-mocksSpec.js index a30c3497..f24f6e57 100644 --- a/test/angular-mocksSpec.js +++ b/test/angular-mocksSpec.js @@ -130,7 +130,7 @@ describe('mocks', function(){ it('should throw error when no third param but toString called', function() { - expect(function() { new TzDate(0,0).toString() }). + expect(function() { new TzDate(0,0).toString(); }). toThrow('Method \'toString\' is not implemented in the TzDate mock'); }); }); @@ -236,7 +236,7 @@ describe('mocks', function(){ var rootScope = angular.scope(), exHandler = rootScope.$service('$exceptionHandler'); - expect(function() { exHandler('myException') }).toThrow('myException'); + expect(function() { exHandler('myException'); }).toThrow('myException'); }); }); }); |
