| 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 276d325d9cfd6a50413d7fa59b4c5839e2379d48..64be0157554dca3fe7eb478ee3e354b84f6e6045 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
|
| @@ -12,19 +12,21 @@ import '../serve/utils.dart';
|
|
|
| main() {
|
| initConfig();
|
| - integration("fails to load a transform from a non-dependency", () {
|
| - d.dir(appPath, [
|
| - d.pubspec({
|
| - "name": "myapp",
|
| - "transformers": ["foo"]
|
| - })
|
| - ]).create();
|
| + withBarbackVersions("any", () {
|
| + integration("fails to load a transform from a non-dependency", () {
|
| + d.dir(appPath, [
|
| + d.pubspec({
|
| + "name": "myapp",
|
| + "transformers": ["foo"]
|
| + })
|
| + ]).create();
|
|
|
| - var pub = startPubServe();
|
| - // Ignore the line containing the path to the pubspec.
|
| - pub.stderr.expect(anything);
|
| - pub.stderr.expect('"transformers.foo" refers to a package that\'s not a '
|
| - 'dependency.');
|
| - pub.shouldExit(1);
|
| + var pub = startPubServe();
|
| + // Ignore the line containing the path to the pubspec.
|
| + pub.stderr.expect(anything);
|
| + pub.stderr.expect('"transformers.foo" refers to a package that\'s not a '
|
| + 'dependency.');
|
| + pub.shouldExit(1);
|
| + });
|
| });
|
| }
|
|
|