mirror of
https://github.com/ruby/ruby.git
synced 2025-09-22 03:53:58 +02: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:
parent
58b325366d
commit
7f46fadd9d
10 changed files with 20 additions and 15 deletions
|
@ -139,7 +139,7 @@ class TestPack < Test::Unit::TestCase
|
|||
|
||||
def test_integer_endian
|
||||
s = [1].pack("s")
|
||||
assert_includes(["\0\1", "\1\0"], s)
|
||||
assert_include(["\0\1", "\1\0"], s)
|
||||
if s == "\0\1"
|
||||
_integer_big_endian()
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue