Skip to content

Commit

Permalink
Fix TestIRB::LocaleTestCase#test_find test
Browse files Browse the repository at this point in the history
  • Loading branch information
andrykonchin committed Oct 21, 2024
1 parent 3196c57 commit a9268a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion test/mri/excludes/TestIRB/LocaleTestCase.rb
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
exclude :test_find, "Expected \"/b/b/e/main/mxbuild/truffleruby-native/lib/mri/irb/lc/ja/error.rb\" to include \"/lib/irb/lc/ja/error.rb\"."
4 changes: 2 additions & 2 deletions test/mri/tests/irb/test_locale.rb
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,11 @@ def test_load
def test_find
jp_local = IRB::Locale.new("ja_JP.UTF-8")
path = jp_local.find("irb/error.rb")
assert_include(path, "/lib/irb/lc/ja/error.rb")
assert_include(path, "/lib/mri/irb/lc/ja/error.rb")

en_local = IRB::Locale.new("en_US.UTF-8")
path = en_local.find("irb/error.rb")
assert_include(path, "/lib/irb/lc/error.rb")
assert_include(path, "/lib/mri/irb/lc/error.rb")
end
end
end

0 comments on commit a9268a6

Please sign in to comment.