Index: sdk/lib/_internal/pub_generated/test/transformer/prints_a_transform_error_in_apply_test.dart |
diff --git a/sdk/lib/_internal/pub/test/transformer/prints_a_transform_error_in_apply_test.dart b/sdk/lib/_internal/pub_generated/test/transformer/prints_a_transform_error_in_apply_test.dart |
similarity index 71% |
copy from sdk/lib/_internal/pub/test/transformer/prints_a_transform_error_in_apply_test.dart |
copy to sdk/lib/_internal/pub_generated/test/transformer/prints_a_transform_error_in_apply_test.dart |
index 2ec83207e4189e55d87e190ffec601180c4bf994..af118726a75330377f5cae5e39622fc322e353bd 100644 |
--- a/sdk/lib/_internal/pub/test/transformer/prints_a_transform_error_in_apply_test.dart |
+++ b/sdk/lib/_internal/pub_generated/test/transformer/prints_a_transform_error_in_apply_test.dart |
@@ -26,25 +26,19 @@ main() { |
initConfig(); |
withBarbackVersions("any", () { |
integration("prints a transform error in apply", () { |
- 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: oh no!')); |
+ server.stderr.expect( |
+ emitsLines( |
+ 'Build error:\n' 'Transform Rewrite on myapp|web/foo.txt threw error: oh no!')); |
endPubServe(); |
}); |
}); |