Skip to content

Commit

Permalink
add Japanese actual zipcodes in locals/ja.yml (#2297)
Browse files Browse the repository at this point in the history
  • Loading branch information
POPPIN-FUMI committed Apr 11, 2021
1 parent 7f0173e commit 38e3d24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/locales/ja.yml

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions test/test_ja_locale.rb
Expand Up @@ -13,6 +13,8 @@ def teardown

def test_ja_address_methods
assert Faker::Address.postcode.is_a? String
# Added Actual Japanese Zipcodes in lib/locals/ja.yml
assert_equal Faker::Address.postcode.size, 7
assert_not_english(Faker::Address.postcode)
assert Faker::Address.state.is_a? String
assert_not_english(Faker::Address.state)
Expand Down

0 comments on commit 38e3d24

Please sign in to comment.