Skip to content

Commit e203ed9

Browse files
author
John Doe
committed
tests: Clean up workspace
1 parent 2e33195 commit e203ed9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmd/checkout/main_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@ import (
55
"github.com/sirupsen/logrus"
66
"github.com/stretchr/testify/assert"
77
"io/ioutil"
8+
"os"
89
"testing"
910
)
1011

1112
// TestCommand_Run makes a simple functional test - clone, then make a checkout to other reference
1213
func TestCommand_Run(t *testing.T) {
1314
dir, err := ioutil.TempDir("../../.build/", "test-command-run")
14-
// defer os.RemoveAll(dir)
15+
defer os.RemoveAll(dir)
1516
if err != nil {
1617
logrus.Fatal(err)
1718
}

0 commit comments

Comments
 (0)