summaryrefslogtreecommitdiffstats
path: root/tests/Utils/QueryTest.php
diff options
context:
space:
mode:
authorDan Ungureanu <udan1107@gmail.com>2015-08-08 21:32:33 +0300
committerDan Ungureanu <udan1107@gmail.com>2015-08-08 21:32:33 +0300
commit77d5409b57f0ac82cf2ae71f339912c7f175c5cc (patch)
tree96a3d95b2228566456ea9da569ca0ab65f759718 /tests/Utils/QueryTest.php
parent84bc88b6f6a810cc37d10cc65be093353ff53995 (diff)
downloadsql-parser-77d5409b57f0ac82cf2ae71f339912c7f175c5cc.zip
sql-parser-77d5409b57f0ac82cf2ae71f339912c7f175c5cc.tar.gz
sql-parser-77d5409b57f0ac82cf2ae71f339912c7f175c5cc.tar.bz2
Add support for MySQL commands inside comments.
Diffstat (limited to 'tests/Utils/QueryTest.php')
-rw-r--r--tests/Utils/QueryTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Utils/QueryTest.php b/tests/Utils/QueryTest.php
index 833469e..9929da1 100644
--- a/tests/Utils/QueryTest.php
+++ b/tests/Utils/QueryTest.php
@@ -495,6 +495,6 @@ class QueryTest extends TestCase
list($statement, $query, $delimiter) =
Query::getFirstStatement($query, $delimiter);
- $this->assertEquals('/*!SELECT * FROM actor WHERE last_name = "abc"*/$$', $statement);
+ $this->assertEquals('SELECT * FROM actor WHERE last_name = "abc"$$', $statement);
}
}