From c0e0512194cbf7f932cb6a6fe29976a03bc2d8c7 Mon Sep 17 00:00:00 2001 From: z7zmey Date: Fri, 9 Feb 2018 14:11:08 +0200 Subject: [PATCH] update stmt visitor test --- node/stmt/t_visitor_test.go | 7 +++++++ 1 file changed, 7 insertions(+) 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 {