提交 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 (
"fmt"
"io/ioutil"
"math/rand"
"os"
"path/filepath"
"sort"
"testing"
......@@ -151,6 +152,8 @@ func TestInvalidKeyFiles(t *testing.T) {
t.Fatal(err)
}
defer os.RemoveAll(tdir)
ks, err := NewFSKeystore(tdir)
if err != nil {
t.Fatal(err)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论