Index: sdk/lib/_internal/pub/test/transformer/fails_to_load_a_transform_with_a_syntax_error_test.dart |
diff --git a/sdk/lib/_internal/pub/test/transformer/fails_to_load_a_transform_with_a_syntax_error_test.dart b/sdk/lib/_internal/pub/test/transformer/fails_to_load_a_transform_with_a_syntax_error_test.dart |
index 765c93f304360dea64a468bbcba18f3d7be2eb33..911ef396fe64e3e74dc0b00706d29bb6f00894f1 100644 |
--- a/sdk/lib/_internal/pub/test/transformer/fails_to_load_a_transform_with_a_syntax_error_test.dart |
+++ b/sdk/lib/_internal/pub/test/transformer/fails_to_load_a_transform_with_a_syntax_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(); |
@@ -27,7 +28,7 @@ main() { |
createLockFile('myapp', pkg: ['barback']); |
- var pub = startPub(args: ['serve', '--port=0', "--hostname=127.0.0.1"]); |
+ var pub = startPubServe(); |
expect(pub.nextErrLine(), completion(startsWith('Error on line'))); |
pub.shouldExit(1); |
expect(pub.remainingStderr(), |