@@ -196,7 +196,7 @@ void main() {
196
196
'--continuous' : r'A continuous option\: any value is allowed' ,
197
197
'--no-option' :
198
198
'An option that starts with "no" just to make confusion with negated '
199
- 'flags' ,
199
+ 'flags' ,
200
200
'--multi-d' : 'An discrete option that can be passed multiple times ' ,
201
201
'--multi-c' : 'An continuous option that can be passed multiple times' ,
202
202
'--flag' : null ,
@@ -313,7 +313,7 @@ void main() {
313
313
suggests ({
314
314
'--no-option' :
315
315
'An option that starts with "no" just to make confusion with '
316
- 'negated flags' ,
316
+ 'negated flags' ,
317
317
'--no-flag' : null ,
318
318
'--no-inverseflag' : 'A flag that the default value is true' ,
319
319
}),
@@ -410,13 +410,14 @@ void main() {
410
410
});
411
411
412
412
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
+ );
420
421
});
421
422
422
423
group ('discrete (aliases)' , () {
@@ -431,17 +432,19 @@ void main() {
431
432
);
432
433
});
433
434
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
+ );
445
448
});
446
449
447
450
group ('continuous' , () {
@@ -634,18 +637,20 @@ void main() {
634
637
tags: 'known-issues' ,
635
638
);
636
639
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
+ );
649
654
});
650
655
});
651
656
});
0 commit comments