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

Unified Diff: test/unknown_source_test.dart

Issue 2377063002: Make "--no-packages-dir" the default. (Closed)
Patch Set: Revise again. 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
« no previous file with comments | « test/test_pub.dart ('k') | test/upgrade/git/do_not_upgrade_if_unneeded_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
});
});
}
« no previous file with comments | « test/test_pub.dart ('k') | test/upgrade/git/do_not_upgrade_if_unneeded_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698