| Index: sdk/lib/_internal/pub/test/serve/fails_to_load_a_pubspec_with_reserved_transformer_config_test.dart
|
| diff --git a/sdk/lib/_internal/pub/test/serve/fails_to_load_a_pubspec_with_reserved_transformer_config_test.dart b/sdk/lib/_internal/pub/test/serve/fails_to_load_a_pubspec_with_reserved_transformer_config_test.dart
|
| index 5ba03d8353992149139f163dcd1ecf6cc99b0c02..06762d8dcbd95b531ef37e72c5b3767a14f8f3d5 100644
|
| --- a/sdk/lib/_internal/pub/test/serve/fails_to_load_a_pubspec_with_reserved_transformer_config_test.dart
|
| +++ b/sdk/lib/_internal/pub/test/serve/fails_to_load_a_pubspec_with_reserved_transformer_config_test.dart
|
| @@ -27,10 +27,11 @@ main() {
|
| createLockFile('myapp', pkg: ['barback']);
|
|
|
| var pub = startPub(args: ['serve', '--port=0']);
|
| - expect(pub.nextErrLine(), completion(startsWith('Could not parse ')));
|
| - expect(pub.nextErrLine(), completion(equals('Configuration for '
|
| - 'transformer myapp/src/transformer may not include reserved key '
|
| - '"include".')));
|
| + expect(pub.nextErrLine(), completion(equals('Error in pubspec for package '
|
| + '"myapp" loaded from pubspec.yaml:')));
|
| + expect(pub.nextErrLine(), completion(equals('Invalid transformer '
|
| + 'identifier for "transformers.myapp/src/transformer": Transformer '
|
| + 'configuration may not include reserved key "include".')));
|
| pub.shouldExit(1);
|
| });
|
| }
|
|
|