Skip to content

Commit

Permalink
add test for international numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
igorT committed Mar 28, 2017
1 parent e537ebc commit 6c4b24a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/unit/validators/format-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,9 @@ test('phone', function(assert) {

result = validate('(408) 555-1234', options);
assert.equal(processResult(result), true);

result = validate('+38765512811', options);
assert.equal(processResult(result), true);
});

test('url', function(assert) {
Expand Down

0 comments on commit 6c4b24a

Please sign in to comment.