summaryrefslogtreecommitdiff
path: root/test/ruby/test_econv.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_econv.rb')
-rw-r--r--test/ruby/test_econv.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_econv.rb b/test/ruby/test_econv.rb
index 72a5af5334..bbdb14a50b 100644
--- a/test/ruby/test_econv.rb
+++ b/test/ruby/test_econv.rb
@@ -86,8 +86,8 @@ class TestEncodingConverter < Test::Unit::TestCase
}
encoding_list = Encoding.list.map {|e| e.name }
- assert(!encoding_list.include?(name1))
- assert(!encoding_list.include?(name2))
+ assert_not_include(encoding_list, name1)
+ assert_not_include(encoding_list, name2)
end
def test_newline_converter_with_ascii_incompatible