Skip to content

Commit

Permalink
Ran linter against Go code.
Browse files Browse the repository at this point in the history
  • Loading branch information
skyzyx committed Mar 26, 2024
1 parent 0b9ffc8 commit 82724b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/standard/aws_resource_tags_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func TestAwsResourceTags(t *testing.T) {
}

defer test_structure.RunTestStage(t, "destroy", func() {
terraformOptions := test_structure.LoadTerraformOptions(t, tmpDir)
terraformOptions = test_structure.LoadTerraformOptions(t, tmpDir)
terraform.Destroy(t, terraformOptions)
})

Expand All @@ -80,10 +80,10 @@ func TestAwsResourceTags(t *testing.T) {
test_structure.RunTestStage(t, "outputs", func() {
terraformOptions := test_structure.LoadTerraformOptions(t, tmpDir)
instanceTags := terraform.OutputMap(t, terraformOptions, "common_tags")
randomId := terraform.Output(t, terraformOptions, "random_id")
randomID := terraform.Output(t, terraformOptions, "random_id")

expectedTags := map[string]string{
"app": fmt.Sprintf("sample-app-%s", randomId),
"app": fmt.Sprintf("sample-app-%s", randomID),
"env": "sandbox",
"managed_by": "opentofu",
}
Expand Down

0 comments on commit 82724b6

Please sign in to comment.