Replace assert_send in at_exit with a simple message output.

This commit is contained in:
Akinori MUSHA 2013-04-16 02:04:59 +09:00
parent b8170fb7e2
commit 18dc77af9f

View file

@ -809,7 +809,11 @@ module TestHTTPCookieJar
}
at_exit {
GC.start
assert_send [db, :closed?]
if db.closed?
puts "finalizer worked"
else
puts "finalizer did not work"
end
}
end