nswrap/ast/verbatim_block_comment_test.go
2019-04-09 11:52:21 -04:00

20 lines
377 B
Go

package ast
import (
"testing"
)
func TestVerbatimBlockComment(t *testing.T) {
nodes := map[string]Node{
`0x107781dd0 <col:34, col:39> Name="link" CloseName=""`: &VerbatimBlockComment{
Addr: 0x107781dd0,
Pos: NewPositionFromString("col:34, col:39"),
Name: "link",
CloseName: "",
ChildNodes: []Node{},
},
}
runNodeTests(t, nodes)
}