nswrap/ast/for_stmt_test.go

18 lines
302 B
Go
Raw Normal View History

2019-04-09 11:52:21 -04:00
package ast
import (
"testing"
)
func TestForStmt(t *testing.T) {
nodes := map[string]Node{
`0x7f961e018848 <line:9:4, line:10:70>`: &ForStmt{
Addr: 0x7f961e018848,
Pos: NewPositionFromString("line:9:4, line:10:70"),
ChildNodes: []Node{},
},
}
runNodeTests(t, nodes)
}