diff --git a/test/fileutils/fileasserts.rb b/test/fileutils/fileasserts.rb index d72d9f3932..9347f6863a 100644 --- a/test/fileutils/fileasserts.rb +++ b/test/fileutils/fileasserts.rb @@ -70,9 +70,9 @@ module Test expected_str << " (nsec=#{expected.nsec})" actual_str << " (nsec=#{actual.nsec})" end - full_message = build_message(message, < expected but was -. + full_message = build_message(message, < expected but was +<#{actual_str}>. EOT assert_block(full_message) { expected == actual } }