nswrap/ast/enum_test.go

18 lines
239 B
Go
Raw Normal View History

2019-04-09 11:52:21 -04:00
package ast
import (
"testing"
)
func TestEnum(t *testing.T) {
nodes := map[string]Node{
`0x7f980b858308 'foo'`: &Enum{
Addr: 0x7f980b858308,
Name: "foo",
ChildNodes: []Node{},
},
}
runNodeTests(t, nodes)
}