summaryrefslogtreecommitdiffstats
path: root/tests/Components/Array2dTest.php
diff options
context:
space:
mode:
authorDan Ungureanu <udan1107@gmail.com>2015-07-15 16:46:40 +0300
committerDan Ungureanu <udan1107@gmail.com>2015-07-15 16:46:40 +0300
commit56ce2d7a37a1ed1d6aabf2b7908ae5da43863497 (patch)
tree86e013988fcf31139aa0ffb7396df227e7b1e0a6 /tests/Components/Array2dTest.php
parent875fd4377a920e9d6e10a752cf96735c9ef41230 (diff)
downloadsql-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/Array2dTest.php')
-rw-r--r--tests/Components/Array2dTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Components/Array2dTest.php b/tests/Components/Array2dTest.php
index 5ec9d7e..0ceb345 100644
--- a/tests/Components/Array2dTest.php
+++ b/tests/Components/Array2dTest.php
@@ -46,7 +46,7 @@ class Array2dTest extends TestCase
$parser = new Parser();
Array2d::parse($parser, $this->getTokensList('(1, 2),'));
$this->assertEquals(
- "Expected open bracket followed by a set of values.",
+ "An opening bracket followed by a set of values was expected.",
$parser->errors[0]->getMessage()
);
}
@@ -56,7 +56,7 @@ class Array2dTest extends TestCase
$parser = new Parser();
Array2d::parse($parser, $this->getTokensList('(1, 2),(3)'));
$this->assertEquals(
- "Expected 2 values, found 1.",
+ "2 values were expected, but found 1.",
$parser->errors[0]->getMessage()
);
}