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

Unified Diff: test/serve/web_socket/url_to_asset_id_errors_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
Index: test/serve/web_socket/url_to_asset_id_errors_test.dart
diff --git a/test/serve/web_socket/url_to_asset_id_errors_test.dart b/test/serve/web_socket/url_to_asset_id_errors_test.dart
index c3cfa91126662631fa7c2f16900ad36c4623c1f5..10a603390bc7d5bf67236fc540ff9c8e051482ad 100644
--- a/test/serve/web_socket/url_to_asset_id_errors_test.dart
+++ b/test/serve/web_socket/url_to_asset_id_errors_test.dart
@@ -18,7 +18,7 @@ main() {
});
integration("responds with NOT_SERVED for an unknown domain", () {
- pubServe();
+ pubServe(shouldGetFirst: true);
expectWebSocketError("urlToAssetId", {
"url": "http://example.com:80/index.html"
}, NOT_SERVED, '"example.com:80" is not being served by pub.');
@@ -26,7 +26,7 @@ main() {
});
integration("responds with NOT_SERVED for an unknown port", () {
- pubServe();
+ pubServe(shouldGetFirst: true);
expectWebSocketError("urlToAssetId", {
"url": "http://localhost:80/index.html"
}, NOT_SERVED, '"localhost:80" is not being served by pub.');
« no previous file with comments | « test/serve/web_socket/unserve_directory_test.dart ('k') | test/serve/web_socket/url_to_asset_id_with_line_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698