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

Unified Diff: sdk/lib/_internal/pub/test/serve/fails_to_load_an_unconfigurable_transformer_when_config_is_passed_test.dart

Issue 24199004: Change pub tests and pub local server to use ipV4 localhost by address. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Use pub serve 'hostname' option in tests of pub. Created 7 years, 3 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: sdk/lib/_internal/pub/test/serve/fails_to_load_an_unconfigurable_transformer_when_config_is_passed_test.dart
diff --git a/sdk/lib/_internal/pub/test/serve/fails_to_load_an_unconfigurable_transformer_when_config_is_passed_test.dart b/sdk/lib/_internal/pub/test/serve/fails_to_load_an_unconfigurable_transformer_when_config_is_passed_test.dart
index 04036416e457228b69fc509fbbea1b771c4f4bf6..ee33dded87d9f6af12131a5a0fa586c0202c0dce 100644
--- a/sdk/lib/_internal/pub/test/serve/fails_to_load_an_unconfigurable_transformer_when_config_is_passed_test.dart
+++ b/sdk/lib/_internal/pub/test/serve/fails_to_load_an_unconfigurable_transformer_when_config_is_passed_test.dart
@@ -27,7 +27,7 @@ main() {
createLockFile('myapp', pkg: ['barback']);
- var pub = startPub(args: ['serve', '--port=0']);
+ var pub = startPub(args: ['serve', '--port=0', "--hostname=127.0.0.1"]);
expect(pub.nextErrLine(), completion(startsWith('No transformers that '
'accept configuration were defined in ')));
pub.shouldExit(1);

Powered by Google App Engine
This is Rietveld 408576698