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

22 lines
384 B
Go

package ast
import (
"testing"
)
func TestNotTailCalledAttr(t *testing.T) {
nodes := map[string]testNode{
`0x7fc8fa094558 <col:107> `: testNode{&NotTailCalledAttr{
Addr: 0x7fc8fa094558,
Pos: NewPositionFromString("col:107"),
ChildNodes: []Node{},
},
0x7fc8fa094558,
NewPositionFromString("col:107"),
[]Node{},
},
}
runNodeTests(t, nodes)
}