summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradityagoyal <ang.adityagoyal@yahoo.com>2013-07-06 03:21:54 +0530
committeradityagoyal <ang.adityagoyal@yahoo.com>2013-07-06 03:21:54 +0530
commitf0bbbe193836e760c1baa581578abe19e48f2d54 (patch)
tree3b6e7b66d4c289c8f73f8774891a517f6c6be64c
parent2b09b47a83dc2d8ce2248e7e4926e7adfd4f0b85 (diff)
downloadsql-formatter-f0bbbe193836e760c1baa581578abe19e48f2d54.zip
sql-formatter-f0bbbe193836e760c1baa581578abe19e48f2d54.tar.gz
sql-formatter-f0bbbe193836e760c1baa581578abe19e48f2d54.tar.bz2
removeComments
-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);