Index: sdk/lib/_internal/pub_generated/test/transformer/exclusion/include_asset_prefix_test.dart |
diff --git a/sdk/lib/_internal/pub/test/transformer/exclusion/include_asset_prefix_test.dart b/sdk/lib/_internal/pub_generated/test/transformer/exclusion/include_asset_prefix_test.dart |
similarity index 63% |
copy from sdk/lib/_internal/pub/test/transformer/exclusion/include_asset_prefix_test.dart |
copy to sdk/lib/_internal/pub_generated/test/transformer/exclusion/include_asset_prefix_test.dart |
index 6434b64dee4960fdaede00f6306756fc81068f09..22f2c7e3d1e82d9a2a1214e0221237d8cd90d45b 100644 |
--- a/sdk/lib/_internal/pub/test/transformer/exclusion/include_asset_prefix_test.dart |
+++ b/sdk/lib/_internal/pub_generated/test/transformer/exclusion/include_asset_prefix_test.dart |
@@ -12,31 +12,22 @@ main() { |
initConfig(); |
withBarbackVersions("any", () { |
integration("allows a directory prefix to include", () { |
- d.dir(appPath, [ |
- d.pubspec({ |
+ d.dir(appPath, [d.pubspec({ |
"name": "myapp", |
- "transformers": [ |
- { |
+ "transformers": [{ |
"myapp/src/transformer": { |
"\$include": "web/sub" |
} |
- } |
- ] |
+ }] |
}), |
- 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"), |
- ]), |
- d.dir("subbub", [ |
- 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"),]), |
+ d.dir("subbub", [d.file("foo.txt", "foo"),])])]).create(); |
createLockFile('myapp', pkg: ['barback']); |