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

Unified Diff: test/run/resource_test.dart

Issue 1282533003: Don't implicitly run "pub get". (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Created 5 years, 4 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/run/resource_test.dart
diff --git a/test/run/resource_test.dart b/test/run/resource_test.dart
index e887b39eb0636f86c809be2c5a58bc94220c97d3..95339931f09ec3fd72e3d80f1dad8eccac3ce954 100644
--- a/test/run/resource_test.dart
+++ b/test/run/resource_test.dart
@@ -49,7 +49,8 @@ main() async {
])
]).create();
- var pub = pubRun(args: ["bin/script"], shouldGetFirst: true);
+ pubGet();
+ var pub = pubRun(args: ["bin/script"]);
// TODO(nweiz): Enable this when sdk#23990 is fixed.
// pub.stdout.expect(p.toUri(p.join(sandboxDir, "myapp/lib/resource.txt")));
@@ -84,7 +85,8 @@ main() async {
])
]).create();
- var pub = pubRun(args: ["bin/script"], shouldGetFirst: true);
+ pubGet();
+ var pub = pubRun(args: ["bin/script"]);
// TODO(nweiz): Enable this when sdk#23990 is fixed.
// pub.stdout.expect(p.toUri(p.join(sandboxDir, "foo/lib/resource.txt")));

Powered by Google App Engine
This is Rietveld 408576698