Merge pull request #219 from tendermint/include-group-close-in-tests

[autofile] include call to group#Close in tests
This commit is contained in:
Ethan Buchman
2018-06-06 20:46:39 -07:00
committed by GitHub

View File

@@ -32,6 +32,7 @@ func createTestGroup(t *testing.T, headSizeLimit int64) *Group {
}
func destroyTestGroup(t *testing.T, g *Group) {
g.Close()
err := os.RemoveAll(g.Dir)
require.NoError(t, err, "Error removing test Group directory")
}