Index: sdk/lib/_internal/pub/test/transformer/runs_a_transform_on_a_dependency_test.dart |
diff --git a/sdk/lib/_internal/pub/test/transformer/runs_a_transform_on_a_dependency_test.dart b/sdk/lib/_internal/pub/test/transformer/runs_a_transform_on_a_dependency_test.dart |
index f106895606cacbe27c7aabd65805c7a26c4f6218..bf7f772119a771ba3674cde348bc727bb77eb0d0 100644 |
--- a/sdk/lib/_internal/pub/test/transformer/runs_a_transform_on_a_dependency_test.dart |
+++ b/sdk/lib/_internal/pub/test/transformer/runs_a_transform_on_a_dependency_test.dart |
@@ -10,29 +10,31 @@ import '../serve/utils.dart'; |
main() { |
initConfig(); |
- integration("runs a local transform on a dependency", () { |
- d.dir("foo", [ |
- d.pubspec({ |
- "name": "foo", |
- "version": "0.0.1", |
- "transformers": ["foo/transformer"] |
- }), |
- d.dir("lib", [ |
- d.file("transformer.dart", REWRITE_TRANSFORMER) |
- ]), |
- d.dir("asset", [ |
- d.file("foo.txt", "foo") |
- ]) |
- ]).create(); |
+ withBarbackVersions("any", () { |
+ integration("runs a local transform on a dependency", () { |
+ d.dir("foo", [ |
+ d.pubspec({ |
+ "name": "foo", |
+ "version": "0.0.1", |
+ "transformers": ["foo/transformer"] |
+ }), |
+ d.dir("lib", [ |
+ d.file("transformer.dart", REWRITE_TRANSFORMER) |
+ ]), |
+ d.dir("asset", [ |
+ d.file("foo.txt", "foo") |
+ ]) |
+ ]).create(); |
- d.dir(appPath, [ |
- d.appPubspec({"foo": {"path": "../foo"}}), |
- ]).create(); |
+ d.dir(appPath, [ |
+ d.appPubspec({"foo": {"path": "../foo"}}), |
+ ]).create(); |
- createLockFile('myapp', sandbox: ['foo'], pkg: ['barback']); |
+ createLockFile('myapp', sandbox: ['foo'], pkg: ['barback']); |
- pubServe(); |
- requestShouldSucceed("assets/foo/foo.out", "foo.out"); |
- endPubServe(); |
+ pubServe(); |
+ requestShouldSucceed("assets/foo/foo.out", "foo.out"); |
+ endPubServe(); |
+ }); |
}); |
} |