Index: sdk/lib/_internal/pub_generated/test/transformer/prints_a_transform_interface_error_test.dart |
diff --git a/sdk/lib/_internal/pub/test/transformer/prints_a_transform_interface_error_test.dart b/sdk/lib/_internal/pub_generated/test/transformer/prints_a_transform_interface_error_test.dart |
similarity index 66% |
copy from sdk/lib/_internal/pub/test/transformer/prints_a_transform_interface_error_test.dart |
copy to sdk/lib/_internal/pub_generated/test/transformer/prints_a_transform_interface_error_test.dart |
index 40bd9eec906aa2c5005723b49592b5190e48297f..4a661f6f51fb0914b24bd32aae712fac3d03079b 100644 |
--- a/sdk/lib/_internal/pub/test/transformer/prints_a_transform_interface_error_test.dart |
+++ b/sdk/lib/_internal/pub_generated/test/transformer/prints_a_transform_interface_error_test.dart |
@@ -24,26 +24,20 @@ main() { |
initConfig(); |
withBarbackVersions("any", () { |
integration("prints a transform interface error", () { |
- d.dir(appPath, [ |
- d.pubspec({ |
+ d.dir(appPath, [d.pubspec({ |
"name": "myapp", |
"transformers": ["myapp/src/transformer"] |
}), |
- d.dir("lib", [d.dir("src", [ |
- d.file("transformer.dart", transformer) |
- ])]), |
- d.dir("web", [ |
- d.file("foo.txt", "foo") |
- ]) |
- ]).create(); |
+ d.dir("lib", [d.dir("src", [d.file("transformer.dart", transformer)])]), |
+ d.dir("web", [d.file("foo.txt", "foo")])]).create(); |
createLockFile('myapp', pkg: ['barback']); |
var server = pubServe(); |
- server.stderr.expect(emitsLines( |
- "Build error:\n" |
- "Transform Rewrite on myapp|web/foo.txt threw error: Class " |
- "'RewriteTransformer' has no instance method 'apply'.")); |
+ server.stderr.expect( |
+ emitsLines( |
+ "Build error:\n" "Transform Rewrite on myapp|web/foo.txt threw error: Class " |
+ "'RewriteTransformer' has no instance method 'apply'.")); |
endPubServe(); |
}); |
}); |