Skip to content

Commit

Permalink
Fix test expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
sigurdm committed Aug 24, 2023
1 parent fdac82f commit aa4f873
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/hosted/fail_gracefully_with_hint_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ void main() {
'name': 'foo',
'version': '1.2.3',
'environment': {
'flutter': 'any', // generates hint -> flutter pub get
'flutter': 'any', // generates hint -> flutter pub
},
}),
]),
Expand All @@ -55,7 +55,7 @@ void main() {
exitCode: exit_codes.UNAVAILABLE,
error: allOf(
contains('Try again without --offline!'),
contains('flutter pub get'), // hint that
contains('flutter pub'), // hint that
),
);

Expand Down
2 changes: 1 addition & 1 deletion test/version_solver_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1304,7 +1304,7 @@ void sdkConstraint() {
Because myapp depends on foo any which requires the Flutter SDK, version
solving failed.
Flutter users should run `flutter pub` instead of `dart pub`.
Flutter users should use `flutter pub` instead of `dart pub`.
'''),
);
});
Expand Down

0 comments on commit aa4f873

Please sign in to comment.