Skip to content

Commit

Permalink
Merge pull request #2317 from yujideveloper/fix/ci-for-es-ar
Browse files Browse the repository at this point in the history
Fix ci for es-AR
  • Loading branch information
marcelobarreto committed May 7, 2021
2 parents e2f77bf + 7b81bdf commit 9397e3f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/test_es_ar_locale.rb
Expand Up @@ -6,14 +6,14 @@ class TestEsArLocale < Test::Unit::TestCase
def setup
Faker::Config.locale = 'es-AR'

@no_words_pattern = /\w{0}$/u
@one_word_pattern = /\w+/u
@one_or_more_words_pattern = /(?:\w+\ )*\w+/u
@many_words_pattern = /(?:\w+\ )+\w+/u
@no_words_pattern = /(?u:\w{0})$/
@one_word_pattern = /(?u:\w+)/
@one_or_more_words_pattern = /(?u:(?:\w+\ )*\w+)/
@many_words_pattern = /(?u:(?:\w+\ )+\w+)/

@name_with_nickname_pattern = /(?:\'*\w+\'*\ )+(?:\'*\w+\'*)/u
@name_with_nickname_pattern = /(?u:(?:'*\w+'*\ )+(?:'*\w+'*))/

@compass_letter_pattern = /^[NEOS]{1,2}(?:p?[NEOS]{1,2})?$/u
@compass_letter_pattern = /^[NEOS]{1,2}(?:p?[NEOS]{1,2})?$/
@compass_number_pattern = /^\d+(?:.\d\d?)?$/
end

Expand Down

0 comments on commit 9397e3f

Please sign in to comment.