summaryrefslogtreecommitdiffstats
path: root/tests/utils/MiscTest.php
diff options
context:
space:
mode:
authorDan Ungureanu <udan1107@gmail.com>2015-06-20 21:27:46 +0300
committerDan Ungureanu <udan1107@gmail.com>2015-06-20 21:28:28 +0300
commit96cc3f31793ab28563b45bb86aac2bff1fa753be (patch)
treee3bb075e4460f902fc2e7eb72fc161ca932afd30 /tests/utils/MiscTest.php
parente04a5682f24b72f39d9a9f95db82f07157595381 (diff)
downloadsql-parser-96cc3f31793ab28563b45bb86aac2bff1fa753be.zip
sql-parser-96cc3f31793ab28563b45bb86aac2bff1fa753be.tar.gz
sql-parser-96cc3f31793ab28563b45bb86aac2bff1fa753be.tar.bz2
Added multiple contexts.
Edited the behaviour of the keyword token.
Diffstat (limited to 'tests/utils/MiscTest.php')
-rw-r--r--tests/utils/MiscTest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/utils/MiscTest.php b/tests/utils/MiscTest.php
index 0b04d37..d64673f 100644
--- a/tests/utils/MiscTest.php
+++ b/tests/utils/MiscTest.php
@@ -16,6 +16,7 @@ class MiscTest extends TestCase
public function testGetAliases($query, $db, array $expected)
{
$parser = new Parser($query);
+ // print_r($parser->statements); exit;
$this->assertEquals($expected, Misc::getAliases($parser->statements[0], $db));
}