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

18 lines
286 B
Go

package ast
import (
"testing"
)
func TestWeakAttr(t *testing.T) {
nodes := map[string]Node{
`0x56069ece5110 <line:736:22>`: &WeakAttr{
Addr: 0x56069ece5110,
Pos: NewPositionFromString("line:736:22"),
ChildNodes: []Node{},
},
}
runNodeTests(t, nodes)
}