Index: sdk/lib/_internal/pub/test/transformer/fails_to_load_a_non_existent_transform_test.dart |
diff --git a/sdk/lib/_internal/pub/test/transformer/fails_to_load_a_non_existent_transform_test.dart b/sdk/lib/_internal/pub/test/transformer/fails_to_load_a_non_existent_transform_test.dart |
index da0ee0ea25d1c7ab766a9acf1b19bc29d7a469cf..f961bae9106a19bfa3968f7e0ece893371b41e82 100644 |
--- a/sdk/lib/_internal/pub/test/transformer/fails_to_load_a_non_existent_transform_test.dart |
+++ b/sdk/lib/_internal/pub/test/transformer/fails_to_load_a_non_existent_transform_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(); |
expect(pub.nextErrLine(), completion(equals( |
'Transformer library "package:myapp/transform.dart" not found.'))); |
pub.shouldExit(1); |