Index: sdk/lib/_internal/pub/test/transformer/fails_to_load_a_transform_from_a_non_dependency_test.dart |
diff --git a/sdk/lib/_internal/pub/test/transformer/fails_to_load_a_transform_from_a_non_dependency_test.dart b/sdk/lib/_internal/pub/test/transformer/fails_to_load_a_transform_from_a_non_dependency_test.dart |
index 36057349ced595b2ab6ea1ab739654ae613f291d..04b80e285e6e62b236ddb2b15a080bbf5ab2f5b5 100644 |
--- a/sdk/lib/_internal/pub/test/transformer/fails_to_load_a_transform_from_a_non_dependency_test.dart |
+++ b/sdk/lib/_internal/pub/test/transformer/fails_to_load_a_transform_from_a_non_dependency_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(); |
@@ -19,7 +20,7 @@ main() { |
}) |
]).create(); |
- var pub = startPub(args: ['serve', '--port=0', "--hostname=127.0.0.1"]); |
+ var pub = startPubServe(); |
// Ignore the line containing the path to the pubspec. |
expect(pub.nextErrLine(), completes); |
expect(pub.nextErrLine(), completion(equals('"transformers.foo" refers to ' |