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

22 lines
362 B
Go

package ast
import (
"testing"
)
func TestObjCProtocol(t *testing.T) {
nodes := map[string]testNode{
`0x10c26d630 'NSColorPickingDefault'`: testNode{&ObjCProtocol{
Addr: 0x10c26d630,
Name: "NSColorPickingDefault",
ChildNodes: []Node{},
},
0x10c26d630,
NewPositionFromString(""),
[]Node{},
},
}
runNodeTests(t, nodes)
}