Output test name when round-trip test fails second half.

This commit is contained in:
Jim Menard 2009-01-12 10:57:00 -05:00
parent dddfb30115
commit 991dfb29e1

View File

@ -83,7 +83,7 @@ class RoundTripTest < Test::Unit::TestCase
assert_equal bson.length, bson_from_ruby.length assert_equal bson.length, bson_from_ruby.length
assert_equal bson, bson_from_ruby assert_equal bson, bson_from_ruby
rescue => ex rescue => ex
$stderr.puts "failure while round-tripping #{dir}/#{name}" # DEBUG $stderr.puts "failure while round-tripping (A) #{dir}/#{name}" # DEBUG
raise ex raise ex
end end
@ -102,7 +102,7 @@ class RoundTripTest < Test::Unit::TestCase
assert_equal bson.length, bson_from_ruby.length assert_equal bson.length, bson_from_ruby.length
assert_equal bson, bson_from_ruby assert_equal bson, bson_from_ruby
rescue => ex rescue => ex
$stderr.puts "failure while round-tripping #{dir}/#{name}" # DEBUG $stderr.puts "failure while round-tripping (B) #{dir}/#{name}" # DEBUG
raise ex raise ex
end end
} }