Index: sdk/lib/_internal/pub/test/install/path/no_pubspec_test.dart |
diff --git a/sdk/lib/_internal/pub/test/install/path/no_pubspec_test.dart b/sdk/lib/_internal/pub/test/install/path/no_pubspec_test.dart |
index 4553861545161151a7108770bb756b586916dab7..61789ad277e7f0222108edb9d8aa96308ab4252b 100644 |
--- a/sdk/lib/_internal/pub/test/install/path/no_pubspec_test.dart |
+++ b/sdk/lib/_internal/pub/test/install/path/no_pubspec_test.dart |
@@ -26,8 +26,6 @@ main() { |
}) |
]).create(); |
- schedulePub(args: ['install'], |
- error: new RegExp('Package "foo" doesn\'t have a pubspec.yaml file.'), |
- exitCode: 1); |
+ pubInstall(error: 'Package "foo" doesn\'t have a pubspec.yaml file.'); |
}); |
} |