From 76d23a199c8b52688bffe647c96874953fd11769 Mon Sep 17 00:00:00 2001 From: z7zmey Date: Fri, 9 Feb 2018 13:55:02 +0200 Subject: [PATCH] PropertiesList Property tests --- node/stmt/t_property_list_test.go | 81 +++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 node/stmt/t_property_list_test.go diff --git a/node/stmt/t_property_list_test.go b/node/stmt/t_property_list_test.go new file mode 100644 index 0000000..07628cd --- /dev/null +++ b/node/stmt/t_property_list_test.go @@ -0,0 +1,81 @@ +package stmt_test + +import ( + "github.com/z7zmey/php-parser/node/scalar" + "github.com/z7zmey/php-parser/node/expr" + "bytes" + "testing" + + "github.com/z7zmey/php-parser/node" + "github.com/z7zmey/php-parser/node/stmt" + "github.com/z7zmey/php-parser/php5" + "github.com/z7zmey/php-parser/php7" +) + +func TestProperty(t *testing.T) { + src := `