Index: sdk/lib/_internal/pub_generated/test/transformer/exclusion/include_asset_string_test.dart |
diff --git a/sdk/lib/_internal/pub/test/transformer/exclusion/include_asset_string_test.dart b/sdk/lib/_internal/pub_generated/test/transformer/exclusion/include_asset_string_test.dart |
similarity index 66% |
copy from sdk/lib/_internal/pub/test/transformer/exclusion/include_asset_string_test.dart |
copy to sdk/lib/_internal/pub_generated/test/transformer/exclusion/include_asset_string_test.dart |
index 0d90b367fd68d2759d5a98a2aff1e6b82b7b2cd9..761c017955fa3ef643c981de308775d2fe9db074 100644 |
--- a/sdk/lib/_internal/pub/test/transformer/exclusion/include_asset_string_test.dart |
+++ b/sdk/lib/_internal/pub_generated/test/transformer/exclusion/include_asset_string_test.dart |
@@ -12,28 +12,21 @@ main() { |
initConfig(); |
withBarbackVersions("any", () { |
integration("allows a single string as the asset to include", () { |
- d.dir(appPath, [ |
- d.pubspec({ |
+ d.dir(appPath, [d.pubspec({ |
"name": "myapp", |
- "transformers": [ |
- { |
+ "transformers": [{ |
"myapp/src/transformer": { |
"\$include": "web/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']); |