From f668e34f4e50d44f434746fe810d4bab71228ad9 Mon Sep 17 00:00:00 2001 From: z7zmey Date: Fri, 9 Feb 2018 14:15:08 +0200 Subject: [PATCH] Unset tests --- node/stmt/t_unset_test.go | 71 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 node/stmt/t_unset_test.go diff --git a/node/stmt/t_unset_test.go b/node/stmt/t_unset_test.go new file mode 100644 index 0000000..db8d743 --- /dev/null +++ b/node/stmt/t_unset_test.go @@ -0,0 +1,71 @@ +package stmt_test + +import ( + "bytes" + "testing" + + "github.com/z7zmey/php-parser/node" + "github.com/z7zmey/php-parser/node/expr" + "github.com/z7zmey/php-parser/node/stmt" + "github.com/z7zmey/php-parser/php5" + "github.com/z7zmey/php-parser/php7" +) + +func TestUnset(t *testing.T) { + src := `