@cryptotaxi247 / kubo / commits / 23e1179d3

Removing the tmp directory after the TestInvalidKeyFiles test.

License: MIT Signed-off-by: matrushka <barisgumustas@gmail.com>

matrushka committed Feb 14, 2018 at 15:15 UTC 23e1179d34feb0153ac2f375022d6517379c1a64
1 file changed +3
keystore/keystore_test.go
+3
@@ -4,6 +4,7 @@ import (
4 "fmt"
5 "io/ioutil"
6 "math/rand"
7 + "os"
8 "path/filepath"
9 "sort"
10 "testing"
@@ -151,6 +152,8 @@ func TestInvalidKeyFiles(t *testing.T) {
152 t.Fatal(err)
153 }
154
155 + defer os.RemoveAll(tdir)
156 +
157 ks, err := NewFSKeystore(tdir)
158 if err != nil {
159 t.Fatal(err)