diff options
-rw-r--r-- | tests/Utils/FormatterTest.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/Utils/FormatterTest.php b/tests/Utils/FormatterTest.php index 2550809..93cca7e 100644 --- a/tests/Utils/FormatterTest.php +++ b/tests/Utils/FormatterTest.php @@ -103,6 +103,12 @@ class FormatTest extends TestCase '</span>', array('type' => 'html'), ), + array( + 'SELECT 1 -- comment', + '<span class="sql-reserved">SELECT</span>' . "\n" . + ' <span class="sql-number">1</span>', + array('type' => 'html', 'remove_comments' => true), + ), ); } } |