Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add ExprSyntaxError #668

Merged
merged 4 commits into from
Mar 13, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix test error message if wrong type
  • Loading branch information
ansgarm committed Mar 13, 2024
commit cc3af98c59dce4f86374165653b0fb2b738a45d3
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
Loading