提交 23e1179d 作者: matrushka

Removing the tmp directory after the TestInvalidKeyFiles test.

License: MIT
Signed-off-by: 's avatarmatrushka <barisgumustas@gmail.com>
上级 4bbaa2aa
...@@ -4,6 +4,7 @@ import ( ...@@ -4,6 +4,7 @@ import (
"fmt" "fmt"
"io/ioutil" "io/ioutil"
"math/rand" "math/rand"
"os"
"path/filepath" "path/filepath"
"sort" "sort"
"testing" "testing"
...@@ -151,6 +152,8 @@ func TestInvalidKeyFiles(t *testing.T) { ...@@ -151,6 +152,8 @@ func TestInvalidKeyFiles(t *testing.T) {
t.Fatal(err) t.Fatal(err)
} }
defer os.RemoveAll(tdir)
ks, err := NewFSKeystore(tdir) ks, err := NewFSKeystore(tdir)
if err != nil { if err != nil {
t.Fatal(err) t.Fatal(err)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论