fail test if we leave a mockfs.DumpDB behind

This commit is contained in:
sentriz
2023-08-23 22:50:49 +01:00
parent 77fa858531
commit e7e949a077

View File

@@ -340,6 +340,8 @@ func (m *MockFS) DumpDB(suffix ...string) {
if err != nil {
m.t.Fatalf("backing up: %v", err)
}
m.t.Error("DumpDB left behind")
}
type tagReaderResult struct {