Fix new rubocop warnings

This commit is contained in:
Tom Hughes 2021-03-23 19:48:13 +00:00
parent fff12dd970
commit 3512d6303c
3 changed files with 7 additions and 7 deletions

View 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")