From e7ee9a9703d5959d0b7a00f84fd006ce34fa257d Mon Sep 17 00:00:00 2001 From: z7zmey Date: Sat, 10 Feb 2018 14:36:19 +0200 Subject: [PATCH] StaticCall tests --- node/expr/t_static_call_test.go | 93 +++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 node/expr/t_static_call_test.go diff --git a/node/expr/t_static_call_test.go b/node/expr/t_static_call_test.go new file mode 100644 index 0000000..c858643 --- /dev/null +++ b/node/expr/t_static_call_test.go @@ -0,0 +1,93 @@ +package expr_test + +import ( + "bytes" + "testing" + + "github.com/z7zmey/php-parser/node/name" + + "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/php5" + "github.com/z7zmey/php-parser/php7" +) + +func TestStaticCall(t *testing.T) { + src := `