]> git.openstreetmap.org Git - rails.git/blobdiff - test/lib/locale_test.rb
Merge remote-tracking branch 'upstream/pull/3296'
[rails.git] / test / lib / locale_test.rb
index 7b02b3f1ffcbc4d563f5086163f7c5505d3660fd..d842390388473757180b18ecd41118df0065d696 100644 (file)
@@ -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")