X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/860887de5272c3e2a39cb7e0c9db6f0acba1b4c6..69fa4e9940fe2858c90ea39277ef6ffcd84a3ca6:/test/lib/locale_test.rb?ds=sidebyside diff --git a/test/lib/locale_test.rb b/test/lib/locale_test.rb index 3ba9b205f..a100515c8 100644 --- a/test/lib/locale_test.rb +++ b/test/lib/locale_test.rb @@ -86,7 +86,7 @@ class LocaleTest < ActiveSupport::TestCase def test_preferred assert_equal "en-GB", Locale.available.preferred(Locale.list("en-GB", "en")).to_s assert_equal "en", Locale.available.preferred(Locale.list("en")).to_s - assert_equal "fr", Locale.available.preferred(Locale.list("fr-FR", "fr", "en")).to_s + assert_equal "fr", Locale.available.preferred(Locale.list("fr-GB", "fr", "en")).to_s assert_equal "fr", Locale.available.preferred(Locale.list("fr", "en")).to_s assert_equal "de", Locale.available.preferred(Locale.list("zh-Hant", "de")).to_s assert_equal "zh-TW", Locale.available.preferred(Locale.list("zh-Hant-TW", "de")).to_s