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

Unified Diff: test/serve/404_page_test.dart

Issue 1282533003: Don't implicitly run "pub get". (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Code review changes 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/serve/404_page_test.dart
diff --git a/test/serve/404_page_test.dart b/test/serve/404_page_test.dart
index 3b478bcc837fe8fed1a6fa95e94f81c9aeea9c5b..d7f1575b85cc49c6d73a9dcfd6717cfb68caa690 100644
--- a/test/serve/404_page_test.dart
+++ b/test/serve/404_page_test.dart
@@ -18,7 +18,8 @@ main() {
});
integration("the 404 page describes the missing asset", () {
- pubServe(shouldGetFirst: true);
+ pubGet();
+ pubServe();
scheduleRequest("packages/foo/missing.txt").then((response) {
expect(response.statusCode, equals(404));
@@ -32,7 +33,8 @@ main() {
});
integration("the 404 page describes the error", () {
- pubServe(shouldGetFirst: true);
+ pubGet();
+ pubServe();
scheduleRequest("packages").then((response) {
expect(response.statusCode, equals(404));

Powered by Google App Engine
This is Rietveld 408576698