18 lines
286 B
Go
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)
|
|
}
|