From 1801a100363fbb60dfc177e47fccb7a1b0cde86b Mon Sep 17 00:00:00 2001 From: z7zmey Date: Fri, 9 Feb 2018 12:50:46 +0200 Subject: [PATCH] Interface tests --- node/stmt/t_interface_test.go | 92 +++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 node/stmt/t_interface_test.go diff --git a/node/stmt/t_interface_test.go b/node/stmt/t_interface_test.go new file mode 100644 index 0000000..8751001 --- /dev/null +++ b/node/stmt/t_interface_test.go @@ -0,0 +1,92 @@ + +package stmt_test + +import ( + "github.com/z7zmey/php-parser/node/name" + "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 TestInterface(t *testing.T) { + src := `