From 3b0c08a6985e0877b36a16d994788d104e97960f Mon Sep 17 00:00:00 2001 From: z7zmey Date: Sat, 10 Feb 2018 13:44:53 +0200 Subject: [PATCH] Print tests --- node/expr/t_print_test.go | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 node/expr/t_print_test.go diff --git a/node/expr/t_print_test.go b/node/expr/t_print_test.go new file mode 100644 index 0000000..863982d --- /dev/null +++ b/node/expr/t_print_test.go @@ -0,0 +1,33 @@ +package expr_test + +import ( + "bytes" + "testing" + + "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 TestPrint(t *testing.T) { + src := `