From 0efba8456ff1e6482dadd21b297a4ddda4eef3ed Mon Sep 17 00:00:00 2001 From: z7zmey Date: Sat, 10 Feb 2018 14:32:03 +0200 Subject: [PATCH] ShortList tests --- node/expr/t_short_list_test.go | 98 ++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 node/expr/t_short_list_test.go diff --git a/node/expr/t_short_list_test.go b/node/expr/t_short_list_test.go new file mode 100644 index 0000000..dd4180b --- /dev/null +++ b/node/expr/t_short_list_test.go @@ -0,0 +1,98 @@ +package expr_test + +import ( + "bytes" + "testing" + + "github.com/z7zmey/php-parser/node/expr/assign_op" + + "github.com/z7zmey/php-parser/node/expr" + + "github.com/z7zmey/php-parser/node" + "github.com/z7zmey/php-parser/node/stmt" + "github.com/z7zmey/php-parser/php7" +) + +func TestShortList(t *testing.T) { + src := `