diff options
Diffstat (limited to 'commands/env_testing.go')
-rw-r--r-- | commands/env_testing.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/commands/env_testing.go b/commands/env_testing.go index 48807725..1493a190 100644 --- a/commands/env_testing.go +++ b/commands/env_testing.go @@ -12,7 +12,6 @@ import ( type testEnv struct { env *Env - cwd string out *bytes.Buffer } @@ -20,7 +19,6 @@ func newTestEnv(t *testing.T) *testEnv { t.Helper() repo := repository.CreateGoGitTestRepo(t, false) - cwd := repository.RepoDir(t, repo) buf := new(bytes.Buffer) @@ -37,7 +35,6 @@ func newTestEnv(t *testing.T) *testEnv { out: out{Writer: buf}, err: out{Writer: buf}, }, - cwd: cwd, out: buf, } } |