From fdf37fcebfede30488ae6a56f58a9e11cc971d34 Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Wed, 17 Aug 2016 10:25:15 -0400 Subject: [PATCH] test: cleanup testdir after testing Signed-off-by: Vincent Batts --- check_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_test.go b/check_test.go index 5a54e40..9c2b409 100644 --- a/check_test.go +++ b/check_test.go @@ -35,7 +35,7 @@ func TestCheckKeywords(t *testing.T) { if err != nil { t.Fatal(err) } - //defer os.RemoveAll(dir) // clean up + defer os.RemoveAll(dir) // clean up tmpfn := filepath.Join(dir, "tmpfile") if err := ioutil.WriteFile(tmpfn, content, 0666); err != nil {