X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ca5de5b4e01297b07ce3a9db45e908f15f7cda11..119016255ec56bb7e7bc74be19858380e868da93:/test/lib/locale_test.rb 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