package ast import ( "testing" ) func TestObjCObjectType(t *testing.T) { nodes := map[string]testNode{ `0x10c101ab0 'NSObject'`: testNode{&ObjCObjectType{ Addr: 0x10c101ab0, Type: `NSObject`, ChildNodes: []Node{}, }, 0x10c101ab0, NewPositionFromString(""), []Node{}, }, `0x7faa18805fc0 'id'`: testNode{&ObjCObjectType{ Addr: 0x7faa18805fc0, Type: `id`, ChildNodes: []Node{}, }, 0x7faa18805fc0, NewPositionFromString(""), []Node{}, }, } runNodeTests(t, nodes) }