package ast import ( "testing" ) func TestSwitchStmt(t *testing.T) { nodes := map[string]Node{ `0x7fbca3894638 `: &SwitchStmt{ Addr: 0x7fbca3894638, Pos: NewPositionFromString("line:9:5, line:20:5"), ChildNodes: []Node{}, }, } runNodeTests(t, nodes) }