Skip to content

Commit

Permalink
Use one-line block
Browse files Browse the repository at this point in the history
  • Loading branch information
minamijoyo committed Dec 23, 2022
1 parent 9d2a69c commit 799570a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
4 changes: 1 addition & 3 deletions tfexec/terraform_import_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,7 @@ func TestAccTerraformCLIImport(t *testing.T) {
SkipUnlessAcceptanceTestEnabled(t)

source := `
resource "time_static" "foo" {
triggers = {}
}
resource "time_static" "foo" { triggers = {} }
`
e := SetupTestAcc(t, source)
terraformCLI := NewTerraformCLI(e)
Expand Down
12 changes: 3 additions & 9 deletions tfmigrate/state_import_action_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,9 @@ func TestAccStateImportAction(t *testing.T) {
backend := tfexec.GetTestAccBackendS3Config(t.Name())

source := `
resource "time_static" "foo" {
triggers = {}
}
resource "time_static" "bar" {
triggers = {}
}
resource "time_static" "baz" {
triggers = {}
}
resource "time_static" "foo" { triggers = {} }
resource "time_static" "bar" { triggers = {} }
resource "time_static" "baz" { triggers = {} }
`

workspace := "default"
Expand Down

0 comments on commit 799570a

Please sign in to comment.