17 lines
273 B
Go
17 lines
273 B
Go
|
package ast
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
func TestTranslationUnitDecl(t *testing.T) {
|
||
|
nodes := map[string]Node{
|
||
|
`0x7fe78a815ed0 <<invalid sloc>> <invalid sloc>`: &TranslationUnitDecl{
|
||
|
Addr: 0x7fe78a815ed0,
|
||
|
ChildNodes: []Node{},
|
||
|
},
|
||
|
}
|
||
|
|
||
|
runNodeTests(t, nodes)
|
||
|
}
|