nswrap/ast/objc_category_decl_test.go

21 lines
390 B
Go
Raw Normal View History

2019-05-31 10:21:04 -04:00
package ast
import (
"testing"
)
func TestObjCCategoryDecl(t *testing.T) {
nodes := map[string]Node{
`0x7fdef0862430 <line:120:1, col:16> col:16 NSObject`:
&ObjCCategoryDecl{
Addr: 0x7fdef0862430,
Pos: NewPositionFromString("line:120:1, col:16"),
Position2: "",
Name: "NSObject",
ChildNodes: []Node{},
},
}
runNodeTests(t, nodes)
}