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

22 lines
355 B
Go

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