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

Unified Diff: test/serve/web_socket/url_to_asset_id_errors_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
« no previous file with comments | « test/serve/web_socket/unserve_directory_test.dart ('k') | test/serve/web_socket/url_to_asset_id_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 10a603390bc7d5bf67236fc540ff9c8e051482ad..4f27b2fb0e2ba95f62c11109d864d6b08c6dd767 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
@@ -15,10 +15,11 @@ main() {
d.dir(appPath, [
d.appPubspec()
]).create();
+ pubGet();
});
integration("responds with NOT_SERVED for an unknown domain", () {
- pubServe(shouldGetFirst: true);
+ pubServe();
expectWebSocketError("urlToAssetId", {
"url": "http://example.com:80/index.html"
}, NOT_SERVED, '"example.com:80" is not being served by pub.');
@@ -26,7 +27,7 @@ main() {
});
integration("responds with NOT_SERVED for an unknown port", () {
- pubServe(shouldGetFirst: true);
+ pubServe();
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_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698