mirror of
https://github.com/samsonjs/http-cookie.git
synced 2026-04-27 14:57:46 +00:00
Increase the chance of having a finalizer called.
This commit is contained in:
parent
8ae076d9ea
commit
b8170fb7e2
1 changed files with 4 additions and 2 deletions
|
|
@ -807,8 +807,10 @@ module TestHTTPCookieJar
|
||||||
db = jar.store.instance_variable_get(:@db)
|
db = jar.store.instance_variable_get(:@db)
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
at_exit {
|
||||||
GC.start
|
GC.start
|
||||||
assert_send [db, :closed?]
|
assert_send [db, :closed?]
|
||||||
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_upgrade_mozillastore
|
def test_upgrade_mozillastore
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue