diff options
Diffstat (limited to 'tests/Utils/ErrorTest.php')
-rw-r--r-- | tests/Utils/ErrorTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Utils/ErrorTest.php b/tests/Utils/ErrorTest.php index fb441f8..2d3da43 100644 --- a/tests/Utils/ErrorTest.php +++ b/tests/Utils/ErrorTest.php @@ -28,7 +28,7 @@ class ErrorTest extends TestCase 17, ), ), - Error::get([$lexer, $parser]) + Error::get(array($lexer, $parser)) ); } @@ -36,7 +36,7 @@ class ErrorTest extends TestCase { $this->assertEquals( array('#1: error msg (near "token" at position 100)'), - Error::format([['error msg', 42, 'token', 100]]) + Error::format(array(array('error msg', 42, 'token', 100))) ); } } |