From 7f46fadd9d7f8ee32d9837a67e212f55e23666b8 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 12 Feb 2011 14:17:54 +0000 Subject: * lib/test/unit.rb (assert_include): add alias. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/io/console/test_io_console.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/io') diff --git a/test/io/console/test_io_console.rb b/test/io/console/test_io_console.rb index 75d8415fce..030dcd38ed 100644 --- a/test/io/console/test_io_console.rb +++ b/test/io/console/test_io_console.rb @@ -117,7 +117,7 @@ class TestIO_Console < Test::Unit::TestCase s.print "a" s.oflush # oflush may be issued after "a" is already sent. s.print "b" - assert_includes(["b", "ab"], m.readpartial(10)) + assert_include(["b", "ab"], m.readpartial(10)) } end @@ -135,7 +135,7 @@ class TestIO_Console < Test::Unit::TestCase s.print "a" s.ioflush # ioflush may be issued after "a" is already sent. s.print "b" - assert_includes(["b", "ab"], m.readpartial(10)) + assert_include(["b", "ab"], m.readpartial(10)) } end -- cgit v1.2.3