package hclsyntax import ( "testing" "github.com/hashicorp/hcl/v2" ) func TestCheckInvalidTokensTest(t *testing.T) { tests := []struct { Input string WantSummary string WantDetail string }{ { `block “invalid” {}`, `Invalid character`, `"Curly quotes" are not valid here. These can sometimes be inadvertently introduced when sharing code via documents or discussion forums. It might help to replace the character with a "straight quote".`, }, { `block 'invalid' {}`, `Invalid character`, `Single quotes are not valid. Use double quotes (") to enclose strings.`, }, { "block `invalid` {}", `Invalid character`, "The \"`\" character is not valid. To create a multi-line string, use the \"heredoc\" syntax, like \"<