Index: sdk/lib/_internal/pub/test/transformer/fails_to_load_a_transform_with_an_import_error_test.dart |
diff --git a/sdk/lib/_internal/pub/test/transformer/fails_to_load_a_transform_with_an_import_error_test.dart b/sdk/lib/_internal/pub/test/transformer/fails_to_load_a_transform_with_an_import_error_test.dart |
index 2da4b93c2cec8ce0d86e3cacf2b0f1f3962abb06..3a7e5eec35185f71e7496af7a72d58afb202ca52 100644 |
--- a/sdk/lib/_internal/pub/test/transformer/fails_to_load_a_transform_with_an_import_error_test.dart |
+++ b/sdk/lib/_internal/pub/test/transformer/fails_to_load_a_transform_with_an_import_error_test.dart |
@@ -8,6 +8,7 @@ import 'package:scheduled_test/scheduled_test.dart'; |
import '../descriptor.dart' as d; |
import '../test_pub.dart'; |
+import '../serve/utils.dart'; |
main() { |
initConfig(); |
@@ -26,7 +27,7 @@ main() { |
]).create(); |
createLockFile('myapp', pkg: ['barback']); |
- var pub = startPub(args: ['serve', '--port=0', "--hostname=127.0.0.1"]); |
+ var pub = startPubServe(); |
expect(pub.nextErrLine(), completion(matches(new RegExp( |
r"Error: line 1 pos 1: library handler failed$")))); |
pub.shouldExit(1); |