Skip to content

Commit

Permalink
add test case
Browse files Browse the repository at this point in the history
  • Loading branch information
goccy committed Nov 12, 2024
1 parent 8095354 commit 7929860
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions parser/parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -971,6 +971,14 @@ func TestSyntaxError(t *testing.T) {
source string
expect string
}{
{
`v: !!int64 2`,
`
[1:4] unknown secondary tag name "!!int64" specified
> 1 | v: !!int64 2
^
`,
},
{
`
a:
Expand Down

0 comments on commit 7929860

Please sign in to comment.