fail test if we leave a mockfs.DumpDB behind
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user