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

18 lines
306 B
Go

package ast
import (
"testing"
)
func TestCaseStmt(t *testing.T) {
nodes := map[string]Node{
`0x7fc8b5094688 <line:11:5, line:12:21>`: &CaseStmt{
Addr: 0x7fc8b5094688,
Pos: NewPositionFromString("line:11:5, line:12:21"),
ChildNodes: []Node{},
},
}
runNodeTests(t, nodes)
}