Skip to content

Commit 19c646b

Browse files
committed
Fixed CLITest for new --ansi param
1 parent fdac7b8 commit 19c646b

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

tests/Utils/CLITest.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,14 @@ public function highlightParams()
9696
],
9797
[
9898
['h' => true],
99-
'Usage: highlight-query --query SQL [--format html|cli|text]' . "\n" .
99+
'Usage: highlight-query --query SQL [--format html|cli|text] [--ansi]' . "\n" .
100100
' cat file.sql | highlight-query' . "\n",
101101
0,
102102
],
103103
[
104104
[],
105105
'ERROR: Missing parameters!' . "\n" .
106-
'Usage: highlight-query --query SQL [--format html|cli|text]' . "\n" .
106+
'Usage: highlight-query --query SQL [--format html|cli|text] [--ansi]' . "\n" .
107107
' cat file.sql | highlight-query' . "\n",
108108
1,
109109
],
@@ -161,15 +161,15 @@ public function highlightParamsStdIn()
161161
[
162162
'',
163163
['h' => true],
164-
'Usage: highlight-query --query SQL [--format html|cli|text]' . "\n" .
164+
'Usage: highlight-query --query SQL [--format html|cli|text] [--ansi]' . "\n" .
165165
' cat file.sql | highlight-query' . "\n",
166166
0,
167167
],
168168
[
169169
'',
170170
[],
171171
'ERROR: Missing parameters!' . "\n" .
172-
'Usage: highlight-query --query SQL [--format html|cli|text]' . "\n" .
172+
'Usage: highlight-query --query SQL [--format html|cli|text] [--ansi]' . "\n" .
173173
' cat file.sql | highlight-query' . "\n",
174174
1,
175175
],
@@ -226,14 +226,14 @@ public function lintParamsStdIn()
226226
'',
227227
[],
228228
'ERROR: Missing parameters!' . "\n" .
229-
'Usage: lint-query --query SQL' . "\n" .
229+
'Usage: lint-query --query SQL [--ansi]' . "\n" .
230230
' cat file.sql | lint-query' . "\n",
231231
1,
232232
],
233233
[
234234
'',
235235
['h' => true],
236-
'Usage: lint-query --query SQL' . "\n" .
236+
'Usage: lint-query --query SQL [--ansi]' . "\n" .
237237
' cat file.sql | lint-query' . "\n",
238238
0,
239239
],
@@ -292,14 +292,14 @@ public function lintParams()
292292
],
293293
[
294294
['h' => true],
295-
'Usage: lint-query --query SQL' . "\n" .
295+
'Usage: lint-query --query SQL [--ansi]' . "\n" .
296296
' cat file.sql | lint-query' . "\n",
297297
0,
298298
],
299299
[
300300
[],
301301
'ERROR: Missing parameters!' . "\n" .
302-
'Usage: lint-query --query SQL' . "\n" .
302+
'Usage: lint-query --query SQL [--ansi]' . "\n" .
303303
' cat file.sql | lint-query' . "\n",
304304
1,
305305
],
@@ -345,14 +345,14 @@ public function tokenizeParams()
345345
],
346346
[
347347
['h' => true],
348-
'Usage: tokenize-query --query SQL' . "\n" .
348+
'Usage: tokenize-query --query SQL [--ansi]' . "\n" .
349349
' cat file.sql | tokenize-query' . "\n",
350350
0,
351351
],
352352
[
353353
[],
354354
'ERROR: Missing parameters!' . "\n" .
355-
'Usage: tokenize-query --query SQL' . "\n" .
355+
'Usage: tokenize-query --query SQL [--ansi]' . "\n" .
356356
' cat file.sql | tokenize-query' . "\n",
357357
1,
358358
],
@@ -396,15 +396,15 @@ public function tokenizeParamsStdIn()
396396
[
397397
'',
398398
['h' => true],
399-
'Usage: tokenize-query --query SQL' . "\n" .
399+
'Usage: tokenize-query --query SQL [--ansi]' . "\n" .
400400
' cat file.sql | tokenize-query' . "\n",
401401
0,
402402
],
403403
[
404404
'',
405405
[],
406406
'ERROR: Missing parameters!' . "\n" .
407-
'Usage: tokenize-query --query SQL' . "\n" .
407+
'Usage: tokenize-query --query SQL [--ansi]' . "\n" .
408408
' cat file.sql | tokenize-query' . "\n",
409409
1,
410410
],

0 commit comments

Comments
 (0)