in more tests, after closing accounts, check the last reference is indeed gone

This commit is contained in:
Mechiel Lukkien
2024-04-16 17:33:54 +02:00
parent afc47c8108
commit abd098e8c0
13 changed files with 30 additions and 5 deletions

View File

@ -76,6 +76,7 @@ func TestServer(t *testing.T) {
defer func() {
err := acc.Close()
log.Check(err, "closing account")
acc.CheckClosed()
}()
s := NewServer(100*1024, "/webapi/", false).(server)