Skip to content

Commit

Permalink
backport of commit 07fe9db
Browse files Browse the repository at this point in the history
  • Loading branch information
radeksimko committed Feb 12, 2025
1 parent 13a40f9 commit 732fcae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/command/jsonformat/plan_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7849,12 +7849,12 @@ func runTestCases(t *testing.T, testCases map[string]testCase) {

beforeDynamicValue, err := plans.NewDynamicValue(beforeVal, ty)
if err != nil {
t.Fatalf("failed to create dynamic before value: %s", err.Error())
t.Fatalf("failed to create dynamic before value: %s", err)
}

afterDynamicValue, err := plans.NewDynamicValue(afterVal, ty)
if err != nil {
t.Fatalf("failed to create dynamic after value: %s", err.Error())
t.Fatalf("failed to create dynamic after value: %s", err)
}

src := &plans.ResourceInstanceChangeSrc{
Expand Down Expand Up @@ -7895,7 +7895,7 @@ func runTestCases(t *testing.T, testCases map[string]testCase) {
}
jsonchanges, err := jsonplan.MarshalResourceChanges([]*plans.ResourceInstanceChangeSrc{src}, tfschemas)
if err != nil {
t.Errorf("failed to marshal resource changes: %s", err.Error())
t.Errorf("failed to marshal resource changes: %s", err)
return
}

Expand Down

0 comments on commit 732fcae

Please sign in to comment.