Skip to content

Commit

Permalink
Fix variable name
Browse files Browse the repository at this point in the history
Signed-off-by: KeisukeYamashita <[email protected]>
  • Loading branch information
KeisukeYamashita committed Feb 1, 2022
1 parent 8792690 commit 163a31e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions terraform/parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ can't guarantee that exactly these actions will be performed if
"terraform apply" is subsequently run.
`

const planOutputChangesOnlySuccessResult0_12 = `
const planOnlyOutputChangesSuccessResult0_12 = `
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
Expand Down Expand Up @@ -124,7 +124,7 @@ can't guarantee that exactly these actions will be performed if
"terraform apply" is subsequently run.
`

const planOutputChangesOnlySuccessResult0_15 = `
const planOnlyOutputChangesSuccessResult0_15 = `
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
Expand Down Expand Up @@ -535,7 +535,7 @@ func TestPlanParserParse(t *testing.T) {
},
{
name: "plan output changes only pattern 0.12",
body: planOutputChangesOnlySuccessResult0_12,
body: planOnlyOutputChangesSuccessResult0_12,
result: ParseResult{
Result: "Plan: 0 to add, 0 to change, 0 to destroy.",
HasAddOrUpdateOnly: true,
Expand All @@ -548,7 +548,7 @@ func TestPlanParserParse(t *testing.T) {
},
{
name: "plan output changes only pattern 0.15",
body: planOutputChangesOnlySuccessResult0_15,
body: planOnlyOutputChangesSuccessResult0_15,
result: ParseResult{
Result: "Changes to Outputs:",
HasAddOrUpdateOnly: true,
Expand Down

0 comments on commit 163a31e

Please sign in to comment.