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

22 lines
371 B
Go

package ast
import (
"testing"
)
func TestTransparentUnionAttr(t *testing.T) {
nodes := map[string]testNode{
`0x304f700 <col:35>`: testNode{&TransparentUnionAttr{
Addr: 0x304f700,
Pos: NewPositionFromString("col:35"),
ChildNodes: []Node{},
},
0x304f700,
NewPositionFromString("col:35"),
[]Node{},
},
}
runNodeTests(t, nodes)
}