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

Unified Diff: test/serve/404_page_test.dart

Issue 1281623002: Fix a bunch of pub tests that started running "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
« no previous file with comments | « test/run/errors_if_path_in_dependency_test.dart ('k') | test/serve/does_not_serve_hidden_assets_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/serve/404_page_test.dart
diff --git a/test/serve/404_page_test.dart b/test/serve/404_page_test.dart
index fe5fcc9f07ab40e1b050314a7727e590de284097..3b478bcc837fe8fed1a6fa95e94f81c9aeea9c5b 100644
--- a/test/serve/404_page_test.dart
+++ b/test/serve/404_page_test.dart
@@ -18,7 +18,7 @@ main() {
});
integration("the 404 page describes the missing asset", () {
- pubServe();
+ pubServe(shouldGetFirst: true);
scheduleRequest("packages/foo/missing.txt").then((response) {
expect(response.statusCode, equals(404));
@@ -32,7 +32,7 @@ main() {
});
integration("the 404 page describes the error", () {
- pubServe();
+ pubServe(shouldGetFirst: true);
scheduleRequest("packages").then((response) {
expect(response.statusCode, equals(404));
« no previous file with comments | « test/run/errors_if_path_in_dependency_test.dart ('k') | test/serve/does_not_serve_hidden_assets_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698