aboutsummaryrefslogtreecommitdiffstats
path: root/test/angular-mocksSpec.js
diff options
context:
space:
mode:
authorVojta Jina2011-07-27 22:24:07 +0200
committerVojta Jina2011-07-27 22:24:07 +0200
commitf39420e7d7aca2a97eaa01853991facf65dcbd6e (patch)
treefe6df3763a53a3c66d9db317cf1253b96eb4c638 /test/angular-mocksSpec.js
parent72e46548b869335705735d30dd3d2709a1ea3b93 (diff)
downloadangular.js-f39420e7d7aca2a97eaa01853991facf65dcbd6e.tar.bz2
style(): fix couple of missing semi-colons
Diffstat (limited to 'test/angular-mocksSpec.js')
-rw-r--r--test/angular-mocksSpec.js4
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');
});
});
});