Commit 23e1179d authored by matrushka's avatar matrushka

Removing the tmp directory after the TestInvalidKeyFiles test.

License: MIT
Signed-off-by: default avatarmatrushka <barisgumustas@gmail.com>
parent 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 is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment