mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
previous change refined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b4a0020707
commit
44b6b031ba
1 changed files with 3 additions and 3 deletions
|
@ -70,9 +70,9 @@ module Test
|
|||
expected_str << " (nsec=#{expected.nsec})"
|
||||
actual_str << " (nsec=#{actual.nsec})"
|
||||
end
|
||||
full_message = build_message(message, <<EOT, expected_str, actual_str)
|
||||
<?> expected but was
|
||||
<?>.
|
||||
full_message = build_message(message, <<EOT)
|
||||
<#{expected_str}> expected but was
|
||||
<#{actual_str}>.
|
||||
EOT
|
||||
assert_block(full_message) { expected == actual }
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue