diff --git a/parser/v2/commentparser_test.go b/parser/v2/commentparser_test.go index 0a0e08f90..9cd7e9f6e 100644 --- a/parser/v2/commentparser_test.go +++ b/parser/v2/commentparser_test.go @@ -45,6 +45,13 @@ func TestCommentParser(t *testing.T) { Contents: `

tag

`, }, }, + { + name: "comments can contain tags", + input: ``, + expected: Comment{ + Contents: `
hello world
`, + }, + }, } for _, tt := range tests { tt := tt