mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05: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
|
@ -278,7 +278,8 @@ class TestSprintf < Test::Unit::TestCase
|
|||
end
|
||||
|
||||
def test_rb_sprintf
|
||||
assert(T012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789.new.inspect =~ /^#<TestSprintf::T012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789:0x[0-9a-f]+>$/)
|
||||
assert_match(/^#<TestSprintf::T012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789:0x[0-9a-f]+>$/,
|
||||
T012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789.new.inspect)
|
||||
end
|
||||
|
||||
def test_negative_hex
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue