Index: sdk/lib/_internal/pub_generated/test/transformer/runs_one_third_party_transformer_on_another_test.dart |
diff --git a/sdk/lib/_internal/pub/test/transformer/runs_one_third_party_transformer_on_another_test.dart b/sdk/lib/_internal/pub_generated/test/transformer/runs_one_third_party_transformer_on_another_test.dart |
similarity index 58% |
copy from sdk/lib/_internal/pub/test/transformer/runs_one_third_party_transformer_on_another_test.dart |
copy to sdk/lib/_internal/pub_generated/test/transformer/runs_one_third_party_transformer_on_another_test.dart |
index 079e3776d7ee12991371df5e360aff39e4500492..3bc572279fccbeafd28776156e782818fd615b9d 100644 |
--- a/sdk/lib/_internal/pub/test/transformer/runs_one_third_party_transformer_on_another_test.dart |
+++ b/sdk/lib/_internal/pub_generated/test/transformer/runs_one_third_party_transformer_on_another_test.dart |
@@ -12,43 +12,40 @@ main() { |
initConfig(); |
withBarbackVersions("any", () { |
integration("runs one third-party transformer on another", () { |
- d.dir("foo", [ |
- d.pubspec({ |
+ d.dir("foo", [d.pubspec({ |
"name": "foo", |
"version": "1.0.0" |
}), |
- d.dir("lib", [ |
- d.file("transformer.dart", dartTransformer('foo')), |
- ]) |
- ]).create(); |
+ d.dir("lib", [d.file("transformer.dart", dartTransformer('foo')),])]).create(); |
- d.dir("bar", [ |
- d.pubspec({ |
+ d.dir("bar", [d.pubspec({ |
"name": "bar", |
"version": "1.0.0", |
"transformers": ["foo/transformer"], |
- "dependencies": {"foo": {"path": "../foo"}} |
+ "dependencies": { |
+ "foo": { |
+ "path": "../foo" |
+ } |
+ } |
}), |
- d.dir("lib", [ |
- d.file("transformer.dart", dartTransformer('bar')), |
- ]) |
- ]).create(); |
+ d.dir("lib", [d.file("transformer.dart", dartTransformer('bar')),])]).create(); |
- d.dir(appPath, [ |
- d.pubspec({ |
+ d.dir(appPath, [d.pubspec({ |
"name": "myapp", |
"transformers": ["bar/transformer"], |
- "dependencies": {'bar': {'path': '../bar'}} |
+ "dependencies": { |
+ 'bar': { |
+ 'path': '../bar' |
+ } |
+ } |
}), |
- d.dir("web", [ |
- d.file("main.dart", 'const TOKEN = "main.dart";') |
- ]) |
- ]).create(); |
+ d.dir("web", [d.file("main.dart", 'const TOKEN = "main.dart";')])]).create(); |
createLockFile('myapp', sandbox: ['foo', 'bar'], pkg: ['barback']); |
pubServe(); |
- requestShouldSucceed("main.dart", |
+ requestShouldSucceed( |
+ "main.dart", |
'const TOKEN = "(main.dart, (bar, foo))";'); |
endPubServe(); |
}); |