diff --git a/node/scalar/magic_constant_test.go b/node/scalar/magic_constant_test.go new file mode 100644 index 0000000..72b23a6 --- /dev/null +++ b/node/scalar/magic_constant_test.go @@ -0,0 +1,30 @@ +package scalar_test + +import ( + "bytes" + "testing" + + "github.com/kylelemons/godebug/pretty" + "github.com/z7zmey/php-parser/node" + "github.com/z7zmey/php-parser/node/scalar" + "github.com/z7zmey/php-parser/node/stmt" + "github.com/z7zmey/php-parser/parser" +) + +func TestMagicConstant(t *testing.T) { + src := `