Browse Source

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

[autofile] include call to group#Close in tests
pull/1780/head
Ethan Buchman 7 years ago
committed by GitHub
parent
commit
640af0205d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      autofile/group_test.go

+ 1
- 0
autofile/group_test.go View File

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


Loading…
Cancel
Save