summaryrefslogtreecommitdiffstats
path: root/tests/SqlFormatterTest.php
diff options
context:
space:
mode:
authoradityagoyal <ang.adityagoyal@yahoo.com>2013-07-06 02:26:29 +0530
committeradityagoyal <ang.adityagoyal@yahoo.com>2013-07-06 02:26:29 +0530
commit3f39d54f21236e9afdf0e53f759c430d0fae9365 (patch)
tree3b6e7b66d4c289c8f73f8774891a517f6c6be64c /tests/SqlFormatterTest.php
parent12807638751d5c094f8b7faded70c39daf31b9ee (diff)
downloadsql-formatter-3f39d54f21236e9afdf0e53f759c430d0fae9365.zip
sql-formatter-3f39d54f21236e9afdf0e53f759c430d0fae9365.tar.gz
sql-formatter-3f39d54f21236e9afdf0e53f759c430d0fae9365.tar.bz2
test case
Diffstat (limited to 'tests/SqlFormatterTest.php')
-rw-r--r--tests/SqlFormatterTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/SqlFormatterTest.php b/tests/SqlFormatterTest.php
index c3726fe..333483c 100644
--- a/tests/SqlFormatterTest.php
+++ b/tests/SqlFormatterTest.php
@@ -72,7 +72,7 @@ class SqlFormatterTest extends PHPUnit_Framework_TestCase {
}
function testRemoveComments() {
- $expected = SqlFormatter::format("SELECT\n * FROM\n MyTable");
+ $expected = SqlFormatter::format("SELECT\n * FROM\n MyTable",false);
$sql = "/* this is a comment */SELECT#This is another comment\n * FROM-- One final comment\n MyTable";
$actual = SqlFormatter::removeComments($sql);