Index: sdk/lib/_internal/pub/test/transformer/fails_to_load_a_file_that_defines_no_transforms_test.dart |
diff --git a/sdk/lib/_internal/pub/test/transformer/fails_to_load_a_file_that_defines_no_transforms_test.dart b/sdk/lib/_internal/pub/test/transformer/fails_to_load_a_file_that_defines_no_transforms_test.dart |
index a4f697b89d457ff78e2eb6402e9c5cccdb6329a3..aae47dada1dbf790d7eddd71467aa1eb719eea86 100644 |
--- a/sdk/lib/_internal/pub/test/transformer/fails_to_load_a_file_that_defines_no_transforms_test.dart |
+++ b/sdk/lib/_internal/pub/test/transformer/fails_to_load_a_file_that_defines_no_transforms_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(); |
@@ -25,7 +26,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('No transformers were ' |
'defined in '))); |
expect(pub.nextErrLine(), completion(startsWith('required by myapp.'))); |