summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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 b89cc65..01b1b4d 100644
--- a/tests/Utils/CLITest.php
+++ b/tests/Utils/CLITest.php
@@ -37,6 +37,11 @@ class CLITest extends TestCase
0,
),
array(
+ array('q' => 'SELECT 1', 'f' => 'foo'),
+ "ERROR: Invalid value for format!\n",
+ 1,
+ ),
+ array(
array('q' => 'SELECT 1', 'f' => 'html'),
'<span class="sql-reserved">SELECT</span>' . "\n" .
' <span class="sql-number">1</span>' . "\n",