Skip to content

Commit

Permalink
removed commented out code (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
retr0h committed Nov 23, 2023
1 parent f898ca0 commit 665bbd9
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions internal/repositories/repositories_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,19 +147,8 @@ func (suite *RepositoriesTestSuite) TestgetGiltDirReturnsErrorWhenexpandUserErro
}
defer func() { currentUser = originalCurrentUser }()

// _, err := expandUser("~/foo/bar")
// assert.Error(suite.T(), err)
_, err := repos.getGiltDir()
assert.Error(suite.T(), err)

// expectedDir := "/giltDir/cache"
// got, err := repos.getGiltDir()
// assert.NoError(suite.T(), err)
// assert.Equal(suite.T(), got, expectedDir)

// exists, err := afero.Exists(suite.appFs, expectedDir)
// assert.NoError(suite.T(), err)
// assert.True(suite.T(), exists)
}

// In order for `go test` to run this suite, we need to create
Expand Down

0 comments on commit 665bbd9

Please sign in to comment.