summaryrefslogtreecommitdiff
path: root/test/io/console/test_io_console.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-02-12 14:17:54 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-02-12 14:17:54 +0000
commit7f46fadd9d7f8ee32d9837a67e212f55e23666b8 (patch)
tree33a1f8e8f60c309d3752134ff3c6fea6401b2773 /test/io/console/test_io_console.rb
parent58b325366dbc5c84be12fb336ee5e68f208d9365 (diff)
* 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
Diffstat (limited to 'test/io/console/test_io_console.rb')
-rw-r--r--test/io/console/test_io_console.rb4
1 files changed, 2 insertions, 2 deletions
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