X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c04d05686f4014a1f729b7194913a0fe1b36e915..d29807d715d3d493f8af631c9631feeb702912e1:/test/lib/locale_test.rb diff --git a/test/lib/locale_test.rb b/test/lib/locale_test.rb index 7b02b3f1f..d84239038 100644 --- a/test/lib/locale_test.rb +++ b/test/lib/locale_test.rb @@ -68,7 +68,7 @@ class LocaleTest < ActiveSupport::TestCase end def test_list - assert_equal [], Locale.list + assert_empty Locale.list assert_equal [EN], Locale.list("en") assert_equal [EN, ZH_YUE, ZH_HANT_TW], Locale.list("en", "zh-yue", "zh-Hant-TW") assert_equal [ZH_YUE, ZH_HANT_TW], Locale.list("en;de", "zh-yue", "zh-Hant-TW")