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

19 lines
372 B
Go

package ast
import (
"testing"
)
func TestInlineCommandComment(t *testing.T) {
nodes := map[string]Node{
`0x22e3510 <col:2, col:6> Name="NOTE" RenderNormal`: &InlineCommandComment{
Addr: 0x22e3510,
Pos: NewPositionFromString("col:2, col:6"),
Other: "Name=\"NOTE\" RenderNormal",
ChildNodes: []Node{},
},
}
runNodeTests(t, nodes)
}