mirror of
https://github.com/samsonjs/http-cookie.git
synced 2026-04-27 14:57:46 +00:00
Replace assert_send in at_exit with a simple message output.
This commit is contained in:
parent
b8170fb7e2
commit
18dc77af9f
1 changed files with 5 additions and 1 deletions
|
|
@ -809,7 +809,11 @@ module TestHTTPCookieJar
|
||||||
}
|
}
|
||||||
at_exit {
|
at_exit {
|
||||||
GC.start
|
GC.start
|
||||||
assert_send [db, :closed?]
|
if db.closed?
|
||||||
|
puts "finalizer worked"
|
||||||
|
else
|
||||||
|
puts "finalizer did not work"
|
||||||
|
end
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue