nswrap/ast/ib_outlet_attr_test.go

22 lines
412 B
Go
Raw Normal View History

2019-06-04 00:14:04 -04:00
package ast
import (
"testing"
)
func TestIBOutletAttr(t *testing.T) {
nodes := map[string]testNode{
`0x7fc0a69091d1 <line:11:7, line:18:7>`: testNode{&IBOutletAttr{
2019-06-04 00:14:04 -04:00
Addr: 0x7fc0a69091d1,
Pos: NewPositionFromString("line:11:7, line:18:7"),
ChildNodes: []Node{},
},
0x7fc0a69091d1,
NewPositionFromString("line:11:7, line:18:7"),
[]Node{},
2019-06-04 00:14:04 -04:00
},
}
runNodeTests(t, nodes)
}