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> {
2323
2424 @override
2525 String get name => 'check' ;
26-
27- @override
28- bool get hidden => true ;
2926}
Original file line number Diff line number Diff line change @@ -89,9 +89,6 @@ class PackagesCheckLicensesCommand extends Command<int> {
8989 @override
9090 String get name => 'licenses' ;
9191
92- @override
93- bool get hidden => true ;
94-
9592 ArgResults get _argResults => argResults! ;
9693
9794 @override
Original file line number Diff line number Diff line change @@ -43,9 +43,9 @@ void main() {
4343 }),
4444 );
4545
46- test ('is hidden' , () {
46+ test ('is not hidden' , () {
4747 final command = PackagesCheckCommand ();
48- expect (command.hidden, isTrue );
48+ expect (command.hidden, isFalse );
4949 });
5050 });
5151}
Original file line number Diff line number Diff line change @@ -64,9 +64,9 @@ void main() {
6464 }),
6565 );
6666
67- test ('is hidden' , () {
67+ test ('is not hidden' , () {
6868 final command = PackagesCheckLicensesCommand ();
69- expect (command.hidden, isTrue );
69+ expect (command.hidden, isFalse );
7070 });
7171
7272 group ('throws usage exception' , () {
Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ const _expectedPackagesUsage = [
1111 '-h, --help Print this usage information.\n '
1212 '\n '
1313 '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 '
1516 '\n '
1617 'Run "very_good help" to see global options.'
1718];
You can’t perform that action at this time.
0 commit comments