Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ screenshots:
path: doc/screen.png

environment:
sdk: ^3.12.0
sdk: ^3.13.0

dependencies:
args: ^2.5.0
Expand Down
12 changes: 4 additions & 8 deletions test/src/installer/completion_configuration_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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''',
);
},
);
Expand All @@ -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''',
);
},
);
Expand All @@ -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''',
);
},
);
Expand All @@ -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''',
);
},
);
Expand Down
21 changes: 7 additions & 14 deletions test/src/installer/completion_installation_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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''',
);
},
);
Expand Down Expand Up @@ -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);
Expand All @@ -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''',
);
},
);
Expand Down Expand Up @@ -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''',
);
},
);
Expand Down Expand Up @@ -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.
Expand All @@ -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''',
);
},
);
Expand Down