nswrap/ast/record_test.go
2019-06-11 12:38:22 -04:00

22 lines
331 B
Go

package ast
import (
"testing"
)
func TestRecord(t *testing.T) {
nodes := map[string]testNode{
`0x7fd3ab857950 '__sFILE'`: testNode{&Record{
Addr: 0x7fd3ab857950,
Type: "__sFILE",
ChildNodes: []Node{},
},
0x7fd3ab857950,
NewPositionFromString(""),
[]Node{},
},
}
runNodeTests(t, nodes)
}