nswrap/ast/paragraph_comment_test.go
2019-06-11 12:38:22 -04:00

22 lines
426 B
Go

package ast
import (
"testing"
)
func TestParagraphComment(t *testing.T) {
nodes := map[string]testNode{
`0x3860920 <line:10176:4, line:10180:45>`: testNode{&ParagraphComment{
Addr: 0x3860920,
Pos: NewPositionFromString("line:10176:4, line:10180:45"),
ChildNodes: []Node{},
},
0x3860920,
NewPositionFromString("line:10176:4, line:10180:45"),
[]Node{},
},
}
runNodeTests(t, nodes)
}