mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-11-26 20:04:48 +01:00
Fix unit tests
This commit is contained in:
parent
25f37ccc28
commit
5f0a1535ff
@ -4,9 +4,9 @@ class PHPParser_Tests_NodeTraverserTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
public function getTestNode() {
|
||||
return array(
|
||||
new PHPParser_Node_Stmt_Namespace(array(
|
||||
'name' => new PHPParser_Node_Name(array('Foo', 'Bar')),
|
||||
'stmts' => array(
|
||||
new PHPParser_Node_Stmt_Namespace(
|
||||
new PHPParser_Node_Name(array('Foo', 'Bar')),
|
||||
array(
|
||||
new PHPParser_Node_Stmt_Echo(array(
|
||||
new PHPParser_Node_Scalar_String('Hallo World')
|
||||
)),
|
||||
@ -14,7 +14,7 @@ class PHPParser_Tests_NodeTraverserTest extends PHPUnit_Framework_TestCase
|
||||
new PHPParser_Node_Scalar_String('Hallo World, again!')
|
||||
),
|
||||
)
|
||||
)),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user