Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(197)

Unified Diff: test/upgrade/git/upgrade_to_nonexistent_pubspec_test.dart

Issue 2377063002: Make "--no-packages-dir" the default. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/upgrade/git/upgrade_to_nonexistent_pubspec_test.dart
diff --git a/test/upgrade/git/upgrade_to_nonexistent_pubspec_test.dart b/test/upgrade/git/upgrade_to_nonexistent_pubspec_test.dart
index 19918618bfb1a92305a2e02e9cb06ecb78bbdfe5..b794ef05b58a69488f6c8b55d49d74a86cec7a4c 100644
--- a/test/upgrade/git/upgrade_to_nonexistent_pubspec_test.dart
+++ b/test/upgrade/git/upgrade_to_nonexistent_pubspec_test.dart
@@ -17,7 +17,7 @@ main() {
d.appDir({"foo": {"git": "../foo.git"}}).create();
- pubGet();
+ pubGet(args: ["--packages-dir"]);
d.dir(packagesPath, [
d.dir('foo', [
@@ -28,8 +28,10 @@ main() {
repo.runGit(['rm', 'pubspec.yaml']);
repo.runGit(['commit', '-m', 'delete']);
- pubUpgrade(error: new RegExp(r'Could not find a file named "pubspec.yaml" '
- r'in [^\n]*\.'));
+ pubUpgrade(
+ args: ["--packages-dir"],
+ error: new RegExp(r'Could not find a file named "pubspec.yaml" '
+ r'in [^\n]*\.'));
d.dir(packagesPath, [
d.dir('foo', [

Powered by Google App Engine
This is Rietveld 408576698