diff options
author | adityagoyal <ang.adityagoyal@yahoo.com> | 2013-07-06 02:26:29 +0530 |
---|---|---|
committer | adityagoyal <ang.adityagoyal@yahoo.com> | 2013-07-06 02:26:29 +0530 |
commit | 3f39d54f21236e9afdf0e53f759c430d0fae9365 (patch) | |
tree | 3b6e7b66d4c289c8f73f8774891a517f6c6be64c /tests/SqlFormatterTest.php | |
parent | 12807638751d5c094f8b7faded70c39daf31b9ee (diff) | |
download | sql-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.php | 2 |
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); |