From 038ebb719e90a3c119f8c42bc2092b064098c5a4 Mon Sep 17 00:00:00 2001 From: z7zmey Date: Wed, 7 Feb 2018 23:32:10 +0200 Subject: [PATCH] break node test --- node/stmt/t_break_test.go | 79 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 node/stmt/t_break_test.go diff --git a/node/stmt/t_break_test.go b/node/stmt/t_break_test.go new file mode 100644 index 0000000..01a45d0 --- /dev/null +++ b/node/stmt/t_break_test.go @@ -0,0 +1,79 @@ +package stmt_test + +import ( + "bytes" + "testing" + + "github.com/z7zmey/php-parser/node/scalar" + + "github.com/z7zmey/php-parser/node" + "github.com/z7zmey/php-parser/node/stmt" + "github.com/z7zmey/php-parser/php7" +) + +func TestBreakEmpty(t *testing.T) { + src := `