diff options
author | Steve Moyer <smoyer1@selesy.com> | 2022-06-22 10:38:09 -0400 |
---|---|---|
committer | Steve Moyer <smoyer1@selesy.com> | 2022-06-22 10:38:09 -0400 |
commit | 6fc6a0f0ab8ce8c7b6ec510d1d7557a6e7cd6835 (patch) | |
tree | 9cd772fc325ed8a15c76306f458c4fef736fd94d /commands/env_testing.go | |
parent | 52c724a03334dda9df30dbac22cb22a04cbe4260 (diff) | |
download | git-bug-6fc6a0f0ab8ce8c7b6ec510d1d7557a6e7cd6835.tar.gz |
test(809): remove reliance on repo's filesystem
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, } } |