update stmt visitor test
This commit is contained in:
parent
8b6f570de0
commit
c0e0512194
@ -435,6 +435,13 @@ var nodesToTest = []struct {
|
|||||||
[]string{"Cond", "Stmt"},
|
[]string{"Cond", "Stmt"},
|
||||||
map[string]interface{}{},
|
map[string]interface{}{},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
&stmt.StmtList{
|
||||||
|
Stmts: []node.Node{&stmt.Expression{}},
|
||||||
|
},
|
||||||
|
[]string{"Stmts"},
|
||||||
|
map[string]interface{}{},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
type visitorMock struct {
|
type visitorMock struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user