Output test name when round-trip test fails second half.
This commit is contained in:
parent
dddfb30115
commit
991dfb29e1
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user