Skip to content

Commit

Permalink
fix test error message if wrong type
Browse files Browse the repository at this point in the history
  • Loading branch information
ansgarm committed Mar 13, 2024
1 parent 54e4175 commit cc3af98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hclsyntax/expression_template_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ func TestTemplateExprWrappedGracefulValue(t *testing.T) {
got, _ := expr.Value(nil) // this should not panic

if !got.RawEquals(cty.DynamicVal) {
t.Errorf("wrong result\ngot: %#v\nwant: %#v", got, cty.NilVal)
t.Errorf("wrong result\ngot: %#v\nwant: %#v", got, cty.DynamicVal)
}
}

Expand Down

0 comments on commit cc3af98

Please sign in to comment.