18 lines
314 B
Go
18 lines
314 B
Go
package ast
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestFullComment(t *testing.T) {
|
|
nodes := map[string]Node{
|
|
`0x3860920 <line:10176:4, line:10180:45>`: &FullComment{
|
|
Addr: 0x3860920,
|
|
Pos: NewPositionFromString("line:10176:4, line:10180:45"),
|
|
ChildNodes: []Node{},
|
|
},
|
|
}
|
|
|
|
runNodeTests(t, nodes)
|
|
}
|