1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
nobu 2011-02-12 14:17:54 +00:00
parent 58b325366d
commit 7f46fadd9d
10 changed files with 20 additions and 15 deletions

View file

@ -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