Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random spec failing: Failure: test_ja_supermario_methods(TestJaLocale) #2637

Closed
stefannibrasil opened this issue Nov 29, 2022 · 1 comment
Closed

Comments

@stefannibrasil
Copy link
Contributor

Describe the bug

A random spec started failing on this PR.

This is the error:

Failure: test_ja_supermario_methods(TestJaLocale):
  </[a-zA-Z]/> was expected to not match
  <"クッパJr.">.
/home/runner/work/faker/faker/test/support/assert_not_english.rb:4:in `assert_not_english'
/home/runner/work/faker/faker/test/test_ja_locale.rb:153:in `test_ja_supermario_methods'
     150: 
     151:   def test_ja_supermario_methods
     152:     assert Faker::Games::SuperMario.character.is_a? String
  => 153:     assert_not_english(Faker::Games::SuperMario.character)
     154:     assert Faker::Games::SuperMario.game.is_a? String
     155:     assert_not_english(Faker::Games::SuperMario.game)
     156:     assert Faker::Games::SuperMario.location.is_a? String

Additional context

This spec is not failing on main. The backtracke can be found here.

@stefannibrasil
Copy link
Contributor Author

stefannibrasil commented Nov 29, 2022

@alextaujenis do you want to work on this one since you already had some changes on #2633? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant