Skip to content

Commit

Permalink
Removing the tmp directory after the TestInvalidKeyFiles test.
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: matrushka <barisgumustas@gmail.com>
  • Loading branch information
matrushka committed Feb 14, 2018
1 parent 3d097c5 commit 326f1c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions keystore/keystore_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"fmt"
"io/ioutil"
"math/rand"
"os"
"path/filepath"
"sort"
"testing"
Expand Down Expand Up @@ -146,6 +147,7 @@ func TestKeystoreBasics(t *testing.T) {

func TestInvalidKeyFiles(t *testing.T) {
tdir, err := ioutil.TempDir("", "keystore-test")
defer os.RemoveAll(tdir)

if err != nil {
t.Fatal(err)
Expand Down

0 comments on commit 326f1c3

Please sign in to comment.