diff --git a/test/hosted/fail_gracefully_with_hint_test.dart b/test/hosted/fail_gracefully_with_hint_test.dart index 7d9569534..78406fd32 100644 --- a/test/hosted/fail_gracefully_with_hint_test.dart +++ b/test/hosted/fail_gracefully_with_hint_test.dart @@ -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 }, }), ]), @@ -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 ), ); diff --git a/test/version_solver_test.dart b/test/version_solver_test.dart index 773ac8693..457866ee4 100644 --- a/test/version_solver_test.dart +++ b/test/version_solver_test.dart @@ -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`. '''), ); });