mirror of
https://github.com/ruby/ruby.git
synced 2025-08-28 07:26:00 +02:00
test/ruby: better assertions
* test/ruby: use better assertions instead of mere assert. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
287d2adab0
commit
3ac0ec4ecd
45 changed files with 532 additions and 510 deletions
|
@ -320,7 +320,7 @@ class TestSprintf < Test::Unit::TestCase
|
|||
s2 = sprintf("%0x", -0x40000001)
|
||||
b1 = (/\.\./ =~ s1) != nil
|
||||
b2 = (/\.\./ =~ s2) != nil
|
||||
assert(b1 == b2, "[ruby-dev:33224]")
|
||||
assert_equal(b1, b2, "[ruby-dev:33224]")
|
||||
end
|
||||
|
||||
def test_named_untyped
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue