зеркало из https://github.com/github/ruby.git
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:
Родитель
b4a0020707
Коммит
44b6b031ba
|
@ -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 }
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче