summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/Utils/CLITest.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/Utils/CLITest.php b/tests/Utils/CLITest.php
index 8ef5792..21adde4 100644
--- a/tests/Utils/CLITest.php
+++ b/tests/Utils/CLITest.php
@@ -37,6 +37,11 @@ class CLITest extends TestCase
0,
),
array(
+ array('q' => 'SELECT /* comment */ 1 /* other */', 'f' => 'text'),
+ "SELECT\n /* comment */ 1 /* other */\n",
+ 0,
+ ),
+ array(
array('q' => 'SELECT 1', 'f' => 'foo'),
"ERROR: Invalid value for format!\n",
1,