Index: sdk/lib/_internal/pub_generated/test/transformer/loads_different_configurations_from_the_same_isolate_test.dart |
diff --git a/sdk/lib/_internal/pub/test/transformer/loads_different_configurations_from_the_same_isolate_test.dart b/sdk/lib/_internal/pub_generated/test/transformer/loads_different_configurations_from_the_same_isolate_test.dart |
similarity index 71% |
copy from sdk/lib/_internal/pub/test/transformer/loads_different_configurations_from_the_same_isolate_test.dart |
copy to sdk/lib/_internal/pub_generated/test/transformer/loads_different_configurations_from_the_same_isolate_test.dart |
index 5efbb209b29d5529cbcdcbd79febacf4d4984502..fc285095723399a27058420cd3444c1a8feed6a0 100644 |
--- a/sdk/lib/_internal/pub/test/transformer/loads_different_configurations_from_the_same_isolate_test.dart |
+++ b/sdk/lib/_internal/pub_generated/test/transformer/loads_different_configurations_from_the_same_isolate_test.dart |
@@ -29,45 +29,45 @@ main() { |
// code than the previous instance. This tests asserts that that doesn't |
// happen. |
- d.dir("foo", [ |
- d.pubspec({ |
+ d.dir("foo", [d.pubspec({ |
"name": "foo", |
"version": "1.0.0", |
- "transformers": [ |
- {"foo/first": {"addition": " in foo"}}, |
- "foo/second" |
- ] |
+ "transformers": [{ |
+ "foo/first": { |
+ "addition": " in foo" |
+ } |
+ }, "foo/second"] |
}), |
- d.dir("lib", [ |
- d.file("first.dart", dartTransformer('foo/first')), |
- d.file("second.dart", dartTransformer('foo/second')) |
- ]) |
- ]).create(); |
+ d.dir( |
+ "lib", |
+ [ |
+ d.file("first.dart", dartTransformer('foo/first')), |
+ d.file("second.dart", dartTransformer('foo/second'))])]).create(); |
- d.dir(appPath, [ |
- d.pubspec({ |
+ d.dir(appPath, [d.pubspec({ |
"name": "myapp", |
- "transformers": [ |
- { |
+ "transformers": [{ |
"foo/first": { |
"addition": " in myapp", |
"\$include": "web/first.dart" |
} |
- }, |
- {"foo/second": {"\$include": "web/second.dart"}} |
- ], |
- "dependencies": {'foo': {'path': '../foo'}} |
+ }, { |
+ "foo/second": { |
+ "\$include": "web/second.dart" |
+ } |
+ }], |
+ "dependencies": { |
+ 'foo': { |
+ 'path': '../foo' |
+ } |
+ } |
}), |
- d.dir("web", [ |
- // This is transformed by foo/first. It's used to see which |
+ d.dir("web", [// This is transformed by foo/first. It's used to see which |
// transformers ran on foo/first. |
d.file("first.dart", 'const TOKEN = "myapp/first";'), |
- |
- // This is transformed by foo/second. It's used to see which |
+ // This is transformed by foo/second. It's used to see which |
// transformers ran on foo/second. |
- d.file("second.dart", 'const TOKEN = "myapp/second";') |
- ]) |
- ]).create(); |
+ d.file("second.dart", 'const TOKEN = "myapp/second";')])]).create(); |
createLockFile('myapp', sandbox: ['foo'], pkg: ['barback']); |
@@ -75,11 +75,13 @@ main() { |
// The version of foo/first used on myapp should have myapp's |
// configuration and shouldn't be transformed by foo/second. |
- requestShouldSucceed("first.dart", |
+ requestShouldSucceed( |
+ "first.dart", |
'const TOKEN = "(myapp/first, foo/first in myapp)";'); |
// foo/second should be transformed by only foo/first. |
- requestShouldSucceed("second.dart", |
+ requestShouldSucceed( |
+ "second.dart", |
'const TOKEN = "(myapp/second, (foo/second, foo/first in foo))";'); |
endPubServe(); |