Index: sdk/lib/_internal/pub_generated/test/transformer/a_transformer_rejects_its_config_test.dart |
diff --git a/sdk/lib/_internal/pub/test/transformer/a_transformer_rejects_its_config_test.dart b/sdk/lib/_internal/pub_generated/test/transformer/a_transformer_rejects_its_config_test.dart |
similarity index 53% |
copy from sdk/lib/_internal/pub/test/transformer/a_transformer_rejects_its_config_test.dart |
copy to sdk/lib/_internal/pub_generated/test/transformer/a_transformer_rejects_its_config_test.dart |
index caa0c95be8af829030039542c4c5b043d000405a..0ee0f1f501625426add38577c698c10ed561884f 100644 |
--- a/sdk/lib/_internal/pub/test/transformer/a_transformer_rejects_its_config_test.dart |
+++ b/sdk/lib/_internal/pub_generated/test/transformer/a_transformer_rejects_its_config_test.dart |
@@ -29,23 +29,28 @@ main() { |
initConfig(); |
withBarbackVersions("any", () { |
- integration("a transformer can reject is configuration", () { |
- d.dir(appPath, [ |
- d.pubspec({ |
- "name": "myapp", |
- "transformers": [{"myapp/src/transformer": {'foo': 'bar'}}] |
- }), |
- d.dir("lib", [d.dir("src", [ |
- d.file("transformer.dart", REJECT_CONFIG_TRANSFORMER) |
- ])]) |
- ]).create(); |
- |
- createLockFile('myapp', pkg: ['barback']); |
- |
- var pub = startPubServe(); |
- pub.stderr.expect(endsWith('Error loading transformer: I hate these ' |
- 'settings!')); |
- pub.shouldExit(1); |
- }); |
+ integration("a transformer can reject is configuration", () { |
+ d.dir(appPath, [d.pubspec({ |
+ "name": "myapp", |
+ "transformers": [{ |
+ "myapp/src/transformer": { |
+ 'foo': 'bar' |
+ } |
+ }] |
+ }), |
+ d.dir( |
+ "lib", |
+ [ |
+ d.dir( |
+ "src", |
+ [d.file("transformer.dart", REJECT_CONFIG_TRANSFORMER)])])]).create(); |
+ |
+ createLockFile('myapp', pkg: ['barback']); |
+ |
+ var pub = startPubServe(); |
+ pub.stderr.expect( |
+ endsWith('Error loading transformer: I hate these ' 'settings!')); |
+ pub.shouldExit(1); |
+ }); |
}); |
-} |
+} |