summaryrefslogtreecommitdiff
path: root/index_test.go
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2013-03-06 20:10:48 +0100
committerCarlos Martín Nieto <[email protected]>2013-03-07 21:01:22 +0100
commitd5a5467738f996ac5661611f783ecb588421e7e0 (patch)
treee94abbed1b756945550ed216731a88d3391bd454 /index_test.go
parentddbe13dab41dba7854b4c4f0c67a9abd9ed8a706 (diff)
Delete the whole test dir
Diffstat (limited to 'index_test.go')
-rw-r--r--index_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/index_test.go b/index_test.go
index c86c322..fe6fb87 100644
--- a/index_test.go
+++ b/index_test.go
@@ -23,7 +23,7 @@ func createTestRepo(t *testing.T) *Repository {
func TestCreateRepoAndStage(t *testing.T) {
repo := createTestRepo(t)
- defer os.RemoveAll(repo.Path())
+ defer os.RemoveAll(repo.Workdir())
idx, err := repo.Index()
checkFatal(t, err)