nswrap/ast/record_type_test.go

18 lines
311 B
Go

package ast
import (
"testing"
)
func TestRecordType(t *testing.T) {
nodes := map[string]Node{
`0x7fd3ab84dda0 'struct _opaque_pthread_condattr_t'`: &RecordType{
Addr: 0x7fd3ab84dda0,
Type: "struct _opaque_pthread_condattr_t",
ChildNodes: []Node{},
},
}
runNodeTests(t, nodes)
}