From 2d15689a3ed9af88ee1675860734d8799e73ad85 Mon Sep 17 00:00:00 2001 From: "unicoderbot[bot]" <269805761+unicoderbot[bot]@users.noreply.github.com> Date: Fri, 14 Aug 2026 14:27:27 +0000 Subject: [PATCH 1/2] feat(deps): upgrade to Dart 3.13 Closes #131 Co-authored-by: marcossevilla --- example/pubspec.yaml | 2 +- pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/example/pubspec.yaml b/example/pubspec.yaml index 8d78457..d6d51b9 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -4,7 +4,7 @@ version: 0.0.1 publish_to: none environment: - sdk: ^3.12.0 + sdk: ^3.13.0 dependencies: args: ^2.5.0 diff --git a/pubspec.yaml b/pubspec.yaml index 5fa44ff..f5090f8 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -9,7 +9,7 @@ screenshots: path: doc/screen.png environment: - sdk: ^3.12.0 + sdk: ^3.13.0 dependencies: args: ^2.5.0 From 986019d8837a7362d75f117e53a239d9e14b904c Mon Sep 17 00:00:00 2001 From: "unicoderbot[bot]" <269805761+unicoderbot[bot]@users.noreply.github.com> Date: Fri, 14 Aug 2026 14:53:24 +0000 Subject: [PATCH 2/2] fix: address review feedback on PR #132 Co-authored-by: marcossevilla --- .../completion_configuration_test.dart | 12 ++++------- .../completion_installation_test.dart | 21 +++++++------------ 2 files changed, 11 insertions(+), 22 deletions(-) diff --git a/test/src/installer/completion_configuration_test.dart b/test/src/installer/completion_configuration_test.dart index be3e789..147f2dc 100644 --- a/test/src/installer/completion_configuration_test.dart +++ b/test/src/installer/completion_configuration_test.dart @@ -100,8 +100,7 @@ void main() { expect( completionConfiguration.uninstalls, isEmpty, - reason: - '''Uninstalls should be empty when the value is of an invalid type''', + reason: '''Uninstalls should be empty when the value is of an invalid type''', ); }, ); @@ -123,8 +122,7 @@ void main() { expect( completionConfiguration.installs, isEmpty, - reason: - '''Installs should be empty when the value is of an invalid type''', + reason: '''Installs should be empty when the value is of an invalid type''', ); }, ); @@ -145,8 +143,7 @@ void main() { expect( completionConfiguration.uninstalls, isEmpty, - reason: - '''Uninstalls should be empty when the value is of an invalid type''', + reason: '''Uninstalls should be empty when the value is of an invalid type''', ); }, ); @@ -167,8 +164,7 @@ void main() { expect( completionConfiguration.installs, isEmpty, - reason: - '''Installs should be empty when the value is of an invalid type''', + reason: '''Installs should be empty when the value is of an invalid type''', ); }, ); diff --git a/test/src/installer/completion_installation_test.dart b/test/src/installer/completion_installation_test.dart index bcd302d..616b575 100644 --- a/test/src/installer/completion_installation_test.dart +++ b/test/src/installer/completion_installation_test.dart @@ -569,8 +569,7 @@ void main() { systemShell: systemShell, ), isTrue, - reason: - '''The completion configuration should contain the uninstall for the command before install''', + reason: '''The completion configuration should contain the uninstall for the command before install''', ); installation.install(command); @@ -584,8 +583,7 @@ void main() { systemShell: systemShell, ), isTrue, - reason: - '''The completion configuration should still contain the uninstall for the command after soft install''', + reason: '''The completion configuration should still contain the uninstall for the command after soft install''', ); }, ); @@ -624,8 +622,7 @@ void main() { systemShell: systemShell, ), isTrue, - reason: - '''The completion configuration should contain the uninstall for the command before install''', + reason: '''The completion configuration should contain the uninstall for the command before install''', ); installation.install(command, force: true); @@ -639,8 +636,7 @@ void main() { systemShell: systemShell, ), isFalse, - reason: - '''The completion configuration should not contain the uninstall for the command after install''', + reason: '''The completion configuration should not contain the uninstall for the command after install''', ); }, ); @@ -673,8 +669,7 @@ void main() { systemShell: systemShell, ), isTrue, - reason: - '''The completion configuration installs should contain the command after install''', + reason: '''The completion configuration installs should contain the command after install''', ); }, ); @@ -706,8 +701,7 @@ void main() { systemShell: systemShell, ), isTrue, - reason: - '''The completion configuration installs should contain the command after install''', + reason: '''The completion configuration installs should contain the command after install''', ); // Install again. @@ -722,8 +716,7 @@ void main() { systemShell: systemShell, ), isTrue, - reason: - '''The completion configuration installs should still contain the command after install''', + reason: '''The completion configuration installs should still contain the command after install''', ); }, );