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