mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/digest/test_digest.rb (test_eq): show failed class.
* test/ruby/test_iterator.rb (test_break, test_return_trace_func): test localjump destination. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c1b6f966be
commit
e45c4cd1ac
3 changed files with 31 additions and 3 deletions
|
|
@ -76,16 +76,16 @@ class TestDigest < Test::Unit::TestCase
|
|||
ALGOS.each do |algo|
|
||||
md1 = algo.new("ABC")
|
||||
|
||||
assert_equal(md1, md1.clone)
|
||||
assert_equal(md1, md1.clone, algo)
|
||||
|
||||
md2 = algo.new
|
||||
md2 << "A"
|
||||
|
||||
assert(md1 != md2)
|
||||
assert(md1 != md2, algo)
|
||||
|
||||
md2 << "BC"
|
||||
|
||||
assert_equal(md1, md2)
|
||||
assert_equal(md1, md2, algo)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue