From 30071cc3206092c0df8c45b83bd67845441b69bb Mon Sep 17 00:00:00 2001 From: z7zmey Date: Sat, 10 Feb 2018 11:15:27 +0200 Subject: [PATCH] ClassConstFetch tests --- node/expr/t_class_const_fetch_test.go | 40 +++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 node/expr/t_class_const_fetch_test.go diff --git a/node/expr/t_class_const_fetch_test.go b/node/expr/t_class_const_fetch_test.go new file mode 100644 index 0000000..e17e900 --- /dev/null +++ b/node/expr/t_class_const_fetch_test.go @@ -0,0 +1,40 @@ +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 TestClassConstFetch(t *testing.T) { + src := `