nswrap/ast/enum_type_test.go

18 lines
247 B
Go

package ast
import (
"testing"
)
func TestEnumType(t *testing.T) {
nodes := map[string]Node{
`0x7f980b858309 'foo'`: &EnumType{
Addr: 0x7f980b858309,
Name: "foo",
ChildNodes: []Node{},
},
}
runNodeTests(t, nodes)
}