nswrap/ast/empty_decl_test.go
2019-04-09 11:52:21 -04:00

19 lines
323 B
Go

package ast
import (
"testing"
)
func TestEmptyDecl(t *testing.T) {
nodes := map[string]Node{
`0x480bec8 <col:13> col:13`: &EmptyDecl{
Addr: 0x480bec8,
Pos: NewPositionFromString("col:13"),
Position2: NewPositionFromString("col:13"),
ChildNodes: []Node{},
},
}
runNodeTests(t, nodes)
}