Skip to content

Commit

Permalink
fix missed testTempDir(t)
Browse files Browse the repository at this point in the history
  • Loading branch information
kmoe committed Apr 26, 2022
1 parent cb3a405 commit 98887f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions tfexec/state_pull_test.go
Expand Up @@ -8,9 +8,7 @@ import (
)

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

tf, err := NewTerraform(td, tfVersion(t, testutil.Latest_v1))
tf, err := NewTerraform(t.TempDir(), tfVersion(t, testutil.Latest_v1))
if err != nil {
t.Fatal(err)
}
Expand Down
4 changes: 1 addition & 3 deletions tfexec/state_push_test.go
Expand Up @@ -8,9 +8,7 @@ import (
)

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

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

0 comments on commit 98887f1

Please sign in to comment.