diff options
author | Dan Ungureanu <udan1107@gmail.com> | 2015-07-15 16:46:40 +0300 |
---|---|---|
committer | Dan Ungureanu <udan1107@gmail.com> | 2015-07-15 16:46:40 +0300 |
commit | 56ce2d7a37a1ed1d6aabf2b7908ae5da43863497 (patch) | |
tree | 86e013988fcf31139aa0ffb7396df227e7b1e0a6 /tests/Components/ExpressionTest.php | |
parent | 875fd4377a920e9d6e10a752cf96735c9ef41230 (diff) | |
download | sql-parser-56ce2d7a37a1ed1d6aabf2b7908ae5da43863497.zip sql-parser-56ce2d7a37a1ed1d6aabf2b7908ae5da43863497.tar.gz sql-parser-56ce2d7a37a1ed1d6aabf2b7908ae5da43863497.tar.bz2 |
Better error detection. Fixed some of the old messages.
Minor coding style fixes.
Diffstat (limited to 'tests/Components/ExpressionTest.php')
-rw-r--r-- | tests/Components/ExpressionTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Components/ExpressionTest.php b/tests/Components/ExpressionTest.php index c5e10a4..f1c491c 100644 --- a/tests/Components/ExpressionTest.php +++ b/tests/Components/ExpressionTest.php @@ -26,7 +26,7 @@ class ExpressionTest extends TestCase $parser = new Parser(); Expression::parse($parser, $this->getTokensList('(1))')); $errors = $this->getErrorsAsArray($parser); - $this->assertEquals($errors[0][0], 'Unexpected bracket.'); + $this->assertEquals($errors[0][0], 'Unexpected closing bracket.'); } public function testParseErr2() |