mirror of
https://github.com/ruby/ruby.git
synced 2025-09-22 03:53:58 +02:00
* lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):
use more descriptive assertions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e1cc514073
commit
921b2d1cfb
10 changed files with 25 additions and 21 deletions
|
@ -567,7 +567,7 @@ class TestPack < Test::Unit::TestCase
|
|||
end
|
||||
|
||||
def test_pack_p2
|
||||
assert([nil].pack("p") =~ /\A\0*\Z/)
|
||||
assert_match(/\A\0*\Z/, [nil].pack("p"))
|
||||
end
|
||||
|
||||
def test_pack_unpack_w
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue