aboutsummaryrefslogtreecommitdiffstats
path: root/test
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
parent72e46548b869335705735d30dd3d2709a1ea3b93 (diff)
downloadangular.js-f39420e7d7aca2a97eaa01853991facf65dcbd6e.tar.bz2
style(): fix couple of missing semi-colons
Diffstat (limited to 'test')
-rw-r--r--test/AngularSpec.js2
-rw-r--r--test/angular-mocksSpec.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/AngularSpec.js b/test/AngularSpec.js
index 98554199..0166503c 100644
--- a/test/AngularSpec.js
+++ b/test/AngularSpec.js
@@ -635,5 +635,5 @@ describe('angular', function(){
expect(version.dot).toBe("NG_VERSION_DOT");
expect(version.codeName).toBe('"NG_VERSION_CODENAME"');
});
- })
+ });
});
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');
});
});
});