Skip to content

Commit

Permalink
Fix missed testTempDir(t) -> t.TempDir
Browse files Browse the repository at this point in the history
  • Loading branch information
radeksimko authored and kmoe committed Oct 22, 2021
1 parent 86e6d27 commit 345602c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tfexec/workspace_delete_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ import (
)

func TestWorkspaceDeleteCmd(t *testing.T) {
td := testTempDir(t)

tf, err := NewTerraform(td, tfVersion(t, testutil.Latest013))
tf, err := NewTerraform(t.TempDir(), tfVersion(t, testutil.Latest013))
if err != nil {
t.Fatal(err)
}
Expand Down

0 comments on commit 345602c

Please sign in to comment.