Skip to content

Commit cc3af98

Browse files
committed
fix test error message if wrong type
1 parent 54e4175 commit cc3af98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hclsyntax/expression_template_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ func TestTemplateExprWrappedGracefulValue(t *testing.T) {
456456
got, _ := expr.Value(nil) // this should not panic
457457

458458
if !got.RawEquals(cty.DynamicVal) {
459-
t.Errorf("wrong result\ngot: %#v\nwant: %#v", got, cty.NilVal)
459+
t.Errorf("wrong result\ngot: %#v\nwant: %#v", got, cty.DynamicVal)
460460
}
461461
}
462462

0 commit comments

Comments
 (0)