Skip to content

Commit 72c6c1b

Browse files
committed
fix(locale): remove - from cell phone number format
1 parent a58120f commit 72c6c1b

File tree

2 files changed

+13
-14
lines changed

2 files changed

+13
-14
lines changed

lib/locales/en-PAK.yml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,6 @@ en-PAK:
351351
- ICT
352352
- AJK
353353
- GB
354-
355354
default_country:
356355
- Pakistan
357356
- Islamic Republic of Pakistan
@@ -388,15 +387,15 @@ en-PAK:
388387
- 03##-#######
389388
cell_phone:
390389
formats:
391-
- "0311-#######"
392-
- "0312-#######"
393-
- "0313-#######"
394-
- "0314-#######"
395-
- "0315-#######"
396-
- "0300-#######"
397-
- "0301-#######"
398-
- "0321-#######"
399-
- "0322-#######"
400-
- "0345-#######"
401-
- "0346-#######"
402-
- "0346-#######"
390+
- "0311#######"
391+
- "0312#######"
392+
- "0313#######"
393+
- "0314#######"
394+
- "0315#######"
395+
- "0300#######"
396+
- "0301#######"
397+
- "0321#######"
398+
- "0322#######"
399+
- "0345#######"
400+
- "0346#######"
401+
- "0346#######"

test/test_en_pak_locale.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ def test_en_pak_name_methods
3939
def test_en_pak_cell_phone_is_valid
4040
mobile = Faker::PhoneNumber.cell_phone
4141

42-
assert_match(/03\d{2}-\d{7}/, mobile)
42+
assert_match(/03\d{2}\d{7}/, mobile)
4343
end
4444
end

0 commit comments

Comments
 (0)