mirror of
https://github.com/mjl-/mox.git
synced 2025-07-10 07:54:40 +03:00
in more tests, after closing accounts, check the last reference is indeed gone
This commit is contained in:
@ -24,7 +24,10 @@ func TestExport(t *testing.T) {
|
||||
mox.MustLoadConfig(true, false)
|
||||
acc, err := OpenAccount(pkglog, "mjl")
|
||||
tcheck(t, err, "open account")
|
||||
defer acc.Close()
|
||||
defer func() {
|
||||
acc.Close()
|
||||
acc.CheckClosed()
|
||||
}()
|
||||
defer Switchboard()()
|
||||
|
||||
log := mlog.New("export", nil)
|
||||
|
Reference in New Issue
Block a user