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.'); |