@@ -196,7 +196,7 @@ void main() {
196196 '--continuous' : r'A continuous option\: any value is allowed' ,
197197 '--no-option' :
198198 'An option that starts with "no" just to make confusion with negated '
199- 'flags' ,
199+ 'flags' ,
200200 '--multi-d' : 'An discrete option that can be passed multiple times ' ,
201201 '--multi-c' : 'An continuous option that can be passed multiple times' ,
202202 '--flag' : null ,
@@ -313,7 +313,7 @@ void main() {
313313 suggests ({
314314 '--no-option' :
315315 'An option that starts with "no" just to make confusion with '
316- 'negated flags' ,
316+ 'negated flags' ,
317317 '--no-flag' : null ,
318318 '--no-inverseflag' : 'A flag that the default value is true' ,
319319 }),
@@ -410,13 +410,14 @@ void main() {
410410 });
411411
412412 test (
413- '**do not** suggest possible options when using equals/quote syntax' ,
414- () async {
415- await expectLater (
416- 'example_cli some_command --discrete="' ,
417- suggests (noSuggestions),
418- );
419- });
413+ '**do not** suggest possible options when using equals/quote syntax' ,
414+ () async {
415+ await expectLater (
416+ 'example_cli some_command --discrete="' ,
417+ suggests (noSuggestions),
418+ );
419+ },
420+ );
420421 });
421422
422423 group ('discrete (aliases)' , () {
@@ -431,17 +432,19 @@ void main() {
431432 );
432433 });
433434
434- test ('suggest matching options for alias option when typed 2' ,
435- () async {
436- await expectLater (
437- 'example_cli some_command --defined-values ' ,
438- suggests ({
439- 'foo' : 'foo help' ,
440- 'bar' : 'bar help' ,
441- 'faa' : 'faa help' ,
442- }),
443- );
444- });
435+ test (
436+ 'suggest matching options for alias option when typed 2' ,
437+ () async {
438+ await expectLater (
439+ 'example_cli some_command --defined-values ' ,
440+ suggests ({
441+ 'foo' : 'foo help' ,
442+ 'bar' : 'bar help' ,
443+ 'faa' : 'faa help' ,
444+ }),
445+ );
446+ },
447+ );
445448 });
446449
447450 group ('continuous' , () {
@@ -634,18 +637,20 @@ void main() {
634637 tags: 'known-issues' ,
635638 );
636639
637- test ('include discrete multi option value after it is specified' ,
638- () async {
639- await expectLater (
640- 'example_cli some_command --multi-d bar -m ' ,
641- suggests ({
642- 'fii' : 'fii help' ,
643- 'bar' : 'bar help' ,
644- 'fee' : 'fee help' ,
645- 'i have space' : 'an allowed option with space on it' ,
646- }),
647- );
648- });
640+ test (
641+ 'include discrete multi option value after it is specified' ,
642+ () async {
643+ await expectLater (
644+ 'example_cli some_command --multi-d bar -m ' ,
645+ suggests ({
646+ 'fii' : 'fii help' ,
647+ 'bar' : 'bar help' ,
648+ 'fee' : 'fee help' ,
649+ 'i have space' : 'an allowed option with space on it' ,
650+ }),
651+ );
652+ },
653+ );
649654 });
650655 });
651656 });
0 commit comments