1
0
Fork 0
mirror of https://github.com/vbatts/go-mtree.git synced 2024-11-22 08:25:38 +00:00

test: cleanup testdir after testing

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2016-08-17 10:25:15 -04:00
parent bd52b623df
commit fdf37fcebf

View file

@ -35,7 +35,7 @@ func TestCheckKeywords(t *testing.T) {
if err != nil { if err != nil {
t.Fatal(err) t.Fatal(err)
} }
//defer os.RemoveAll(dir) // clean up defer os.RemoveAll(dir) // clean up
tmpfn := filepath.Join(dir, "tmpfile") tmpfn := filepath.Join(dir, "tmpfile")
if err := ioutil.WriteFile(tmpfn, content, 0666); err != nil { if err := ioutil.WriteFile(tmpfn, content, 0666); err != nil {