diff options
Diffstat (limited to 'test/unit/lib/redmine/codeset_util_test.rb')
-rw-r--r-- | test/unit/lib/redmine/codeset_util_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/lib/redmine/codeset_util_test.rb b/test/unit/lib/redmine/codeset_util_test.rb index f5a6d6336..5c88e0f75 100644 --- a/test/unit/lib/redmine/codeset_util_test.rb +++ b/test/unit/lib/redmine/codeset_util_test.rb @@ -51,7 +51,7 @@ class Redmine::CodesetUtilTest < ActiveSupport::TestCase def test_to_utf8_by_setting_blank_string assert_equal "", Redmine::CodesetUtil.to_utf8_by_setting("") - assert_equal nil, Redmine::CodesetUtil.to_utf8_by_setting(nil) + assert_nil Redmine::CodesetUtil.to_utf8_by_setting(nil) end def test_to_utf8_by_setting_returns_ascii_as_utf8 |