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

Unified Diff: test/unknown_source_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/unknown_source_test.dart
diff --git a/test/unknown_source_test.dart b/test/unknown_source_test.dart
index 65bc476ebba69efdcf191a4a03fe6fbeb9676ebe..89c66f3ef2000a4003b3560a42f2562f2b9cac9f 100644
--- a/test/unknown_source_test.dart
+++ b/test/unknown_source_test.dart
@@ -60,11 +60,9 @@ main() {
pubCommand(command);
// Should upgrade to the new one.
- d.dir(packagesPath, [
- d.dir("foo", [
- d.file("foo.dart", 'main() => "foo";')
- ])
- ]).validate();
+ d.appPackagesFile({
+ "foo": "../foo"
+ }).validate();
});
});
}

Powered by Google App Engine
This is Rietveld 408576698