File tree Expand file tree Collapse file tree 5 files changed +6
-11
lines changed
lib/src/commands/packages/commands/check
test/src/commands/packages Expand file tree Collapse file tree 5 files changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,4 @@ class PackagesCheckCommand extends Command<int> {
23
23
24
24
@override
25
25
String get name => 'check' ;
26
-
27
- @override
28
- bool get hidden => true ;
29
26
}
Original file line number Diff line number Diff line change @@ -89,9 +89,6 @@ class PackagesCheckLicensesCommand extends Command<int> {
89
89
@override
90
90
String get name => 'licenses' ;
91
91
92
- @override
93
- bool get hidden => true ;
94
-
95
92
ArgResults get _argResults => argResults! ;
96
93
97
94
@override
Original file line number Diff line number Diff line change @@ -43,9 +43,9 @@ void main() {
43
43
}),
44
44
);
45
45
46
- test ('is hidden' , () {
46
+ test ('is not hidden' , () {
47
47
final command = PackagesCheckCommand ();
48
- expect (command.hidden, isTrue );
48
+ expect (command.hidden, isFalse );
49
49
});
50
50
});
51
51
}
Original file line number Diff line number Diff line change @@ -64,9 +64,9 @@ void main() {
64
64
}),
65
65
);
66
66
67
- test ('is hidden' , () {
67
+ test ('is not hidden' , () {
68
68
final command = PackagesCheckLicensesCommand ();
69
- expect (command.hidden, isTrue );
69
+ expect (command.hidden, isFalse );
70
70
});
71
71
72
72
group ('throws usage exception' , () {
Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ const _expectedPackagesUsage = [
11
11
'-h, --help Print this usage information.\n '
12
12
'\n '
13
13
'Available subcommands:\n '
14
- ' get Get packages in a Dart or Flutter project.\n '
14
+ ' check Perform checks in a Dart or Flutter project.\n '
15
+ ' get Get packages in a Dart or Flutter project.\n '
15
16
'\n '
16
17
'Run "very_good help" to see global options.'
17
18
];
You can’t perform that action at this time.
0 commit comments