aboutsummaryrefslogtreecommitdiffstats
path: root/test/ValidatorsSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/ValidatorsSpec.js')
-rw-r--r--test/ValidatorsSpec.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/ValidatorsSpec.js b/test/ValidatorsSpec.js
index 9f5b7b5a..2c2488fc 100644
--- a/test/ValidatorsSpec.js
+++ b/test/ValidatorsSpec.js
@@ -64,7 +64,8 @@ describe('ValidatorTest', function(){
});
it('Phone', function() {
- var error = "Phone number needs to be in 1(987)654-3210 format in North America or +999 (123) 45678 906 internationaly.";
+ var error = "Phone number needs to be in 1(987)654-3210 format in North America " +
+ "or +999 (123) 45678 906 internationally.";
assertEquals(angular.validator.phone("ab"), error);
assertEquals(null, angular.validator.phone("1(408)757-3023"));
assertEquals(null, angular.validator.phone("+421 (0905) 933 297"));