Skip to content

Commit a5fd323

Browse files
chore(deps): bump very_good_analysis from 6.0.0 to 7.0.0 (#101)
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tom Arra <[email protected]>
1 parent 4ec2186 commit a5fd323

17 files changed

+22
-10
lines changed

analysis_options.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
include: package:very_good_analysis/analysis_options.6.0.0.yaml
1+
include: package:very_good_analysis/analysis_options.7.0.0.yaml

example/analysis_options.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
include: package:very_good_analysis/analysis_options.6.0.0.yaml
1+
include: package:very_good_analysis/analysis_options.7.0.0.yaml
22
linter:
33
rules:
44
public_member_api_docs: false

example/lib/example.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
/// # see usage
88
/// example_cli --help
99
/// ```
10-
library example;
10+
library;

example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ dependencies:
1515
dev_dependencies:
1616
mocktail: ^1.0.4
1717
test: ^1.25.8
18-
very_good_analysis: ^6.0.0
18+
very_good_analysis: ^7.0.0
1919

2020
executables:
2121
example_cli:

example/test/integration/completion_integration_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@Tags(['integration'])
2-
library integration_tests;
2+
library;
33

44
import 'package:test/test.dart';
55

lib/cli_completion.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// Contains the completion command runner based elements to add completion to
22
/// dart command line applications.
3-
library cli_completion;
3+
library;
44

55
export 'src/command_runner/commands/commands.dart';
66
export 'src/command_runner/completion_command_runner.dart';

lib/installer.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// Contains the functions related to the installation process
22
/// {@canonicalFor system_shell.SystemShell}
3-
library installer;
3+
library;
44

55
export 'src/installer/installer.dart';
66
export 'src/system_shell.dart';

lib/parser.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// Contains the classes and functions related to the creation of suggestions
22
/// for the completion of commands.
3-
library parser;
3+
library;
44

55
export 'src/parser/completion_level.dart';
66
export 'src/parser/completion_result.dart';

lib/src/parser/arg_parser_extension.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ extension ArgParserExtension on ArgParser {
2323
while (currentArgs.isNotEmpty) {
2424
try {
2525
return loosenOptionsGramamar.parse(currentArgs);
26-
} catch (_) {
26+
} on Exception catch (_) {
2727
currentArgs = currentArgs.take(currentArgs.length - 1).toList();
2828
}
2929
}

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ dependencies:
2121
dev_dependencies:
2222
mocktail: ^1.0.4
2323
test: ^1.25.8
24-
very_good_analysis: ^6.0.0
24+
very_good_analysis: ^7.0.0

test/src/command_runner/commands/handle_completion_command_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ class _TestCompletionCommandRunner extends CompletionCommandRunner<int> {
2424
String get executableName => 'test_cli';
2525

2626
@override
27+
// Override acceptable for test files
2728
// ignore: overridden_fields
2829
final Logger completionLogger = MockLogger();
2930
}

test/src/command_runner/commands/install_completion_files_command_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ class _TestCompletionCommandRunner extends CompletionCommandRunner<int> {
1313
_TestCompletionCommandRunner() : super('test', 'Test command runner');
1414

1515
@override
16+
// Override acceptable for test files
1617
// ignore: overridden_fields
1718
final Logger completionInstallationLogger = _MockLogger();
1819

test/src/command_runner/commands/uninstall_completion_files_command_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ class _TestCompletionCommandRunner extends CompletionCommandRunner<int> {
1313
_TestCompletionCommandRunner() : super('test', 'Test command runner');
1414

1515
@override
16+
// Override acceptable for test files
1617
// ignore: overridden_fields
1718
final Logger completionInstallationLogger = _MockLogger();
1819

test/src/command_runner/completion_command_runner_test.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,12 @@ class _TestCompletionCommandRunner extends CompletionCommandRunner<int> {
1818
bool enableAutoInstall = true;
1919

2020
@override
21+
// Override acceptable for test files
2122
// ignore: overridden_fields
2223
final Logger completionLogger = MockLogger();
2324

2425
@override
26+
// Override acceptable for test files
2527
// ignore: overridden_fields
2628
final Logger completionInstallationLogger = MockLogger();
2729

test/src/installer/completion_configuration_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Not required for test files
12
// ignore_for_file: prefer_const_constructors
23

34
import 'dart:collection';

test/src/installer/completion_installation_test.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ void main() {
224224

225225
expect(configFile.existsSync(), true);
226226

227+
// Different format needed for matching cli output
227228
// ignore: leading_newlines_in_multiline_strings
228229
expect(configFile.readAsStringSync(), '''
229230
\n## [very_good]
@@ -285,6 +286,7 @@ void main() {
285286

286287
installation.writeToShellConfigFile('very_good');
287288

289+
// Different format needed for matching cli output
288290
// ignore: leading_newlines_in_multiline_strings
289291
expect(rcFile.readAsStringSync(), '''
290292
\n## [Completion]
@@ -432,6 +434,7 @@ void main() {
432434

433435
// rc fle includes one reference to the global config
434436

437+
// Different format needed for matching cli output
435438
// ignore: leading_newlines_in_multiline_strings
436439
expect(rcFile.readAsStringSync(), '''
437440
\n## [Completion]
@@ -446,6 +449,7 @@ void main() {
446449
path.join(configDir.path, 'zsh-config.zsh'),
447450
);
448451

452+
// Different format needed for matching cli output
449453
// ignore: leading_newlines_in_multiline_strings
450454
expect(globalConfig.readAsStringSync(), '''
451455
\n## [very_good]
@@ -486,6 +490,7 @@ void main() {
486490
..install('very_good')
487491
..install('not_good');
488492

493+
// Different format needed for matching cli output
489494
// ignore: leading_newlines_in_multiline_strings
490495
expect(bashProfile.readAsStringSync(), '''
491496
\n## [Completion]

test/src/installer/script_configuration_entry_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Not needed for test files
12
// ignore_for_file: prefer_const_constructors
23

34
import 'dart:io';

0 commit comments

Comments
 (0)