Index: sdk/lib/_internal/pub_generated/test/transformer/exclusion/exclude_asset_list_test.dart |
diff --git a/sdk/lib/_internal/pub/test/transformer/exclusion/exclude_asset_list_test.dart b/sdk/lib/_internal/pub_generated/test/transformer/exclusion/exclude_asset_list_test.dart |
similarity index 58% |
copy from sdk/lib/_internal/pub/test/transformer/exclusion/exclude_asset_list_test.dart |
copy to sdk/lib/_internal/pub_generated/test/transformer/exclusion/exclude_asset_list_test.dart |
index 52930390aa482a2a4bb397613e4bdffb877da832..0c2295a963aa6adbb9c112bc67be2bd3d9ee1e3b 100644 |
--- a/sdk/lib/_internal/pub/test/transformer/exclusion/exclude_asset_list_test.dart |
+++ b/sdk/lib/_internal/pub_generated/test/transformer/exclusion/exclude_asset_list_test.dart |
@@ -12,31 +12,21 @@ main() { |
initConfig(); |
withBarbackVersions("any", () { |
integration("excludes a list of assets", () { |
- d.dir(appPath, [ |
- d.pubspec({ |
+ d.dir(appPath, [d.pubspec({ |
"name": "myapp", |
- "transformers": [ |
- { |
+ "transformers": [{ |
"myapp/src/transformer": { |
- "\$exclude": [ |
- "web/foo.txt", |
- "web/sub/foo.txt" |
- ] |
+ "\$exclude": ["web/foo.txt", "web/sub/foo.txt"] |
} |
- } |
- ] |
+ }] |
}), |
- d.dir("lib", [d.dir("src", [ |
- d.file("transformer.dart", REWRITE_TRANSFORMER) |
- ])]), |
- d.dir("web", [ |
- d.file("foo.txt", "foo"), |
- d.file("bar.txt", "bar"), |
- d.dir("sub", [ |
- d.file("foo.txt", "foo"), |
- ]) |
- ]) |
- ]).create(); |
+ d.dir("lib", [d.dir("src", [d.file("transformer.dart", REWRITE_TRANSFORMER)])]), |
+ d.dir( |
+ "web", |
+ [ |
+ d.file("foo.txt", "foo"), |
+ d.file("bar.txt", "bar"), |
+ d.dir("sub", [d.file("foo.txt", "foo"),])])]).create(); |
createLockFile('myapp', pkg: ['barback']); |