diff --git a/node/stmt/t_visitor_test.go b/node/stmt/t_visitor_test.go index 8b55e53..9d81199 100644 --- a/node/stmt/t_visitor_test.go +++ b/node/stmt/t_visitor_test.go @@ -435,6 +435,13 @@ var nodesToTest = []struct { []string{"Cond", "Stmt"}, map[string]interface{}{}, }, + { + &stmt.StmtList{ + Stmts: []node.Node{&stmt.Expression{}}, + }, + []string{"Stmts"}, + map[string]interface{}{}, + }, } type visitorMock struct {