| Index: test/build/outputs_error_to_json_test.dart
|
| diff --git a/test/build/outputs_error_to_json_test.dart b/test/build/outputs_error_to_json_test.dart
|
| index 7b8dba05c06e79d056a8ec5b664b76e4411dc491..79b75ec7b0841b8edadbc7d39186b7be35260465 100644
|
| --- a/test/build/outputs_error_to_json_test.dart
|
| +++ b/test/build/outputs_error_to_json_test.dart
|
| @@ -27,35 +27,33 @@ class RewriteTransformer extends Transformer {
|
| """;
|
|
|
| main() {
|
| - withBarbackVersions("any", () {
|
| - integration("outputs error to JSON in a failed build", () {
|
| - d.dir(appPath, [
|
| - d.pubspec({
|
| - "name": "myapp",
|
| - "transformers": ["myapp"]
|
| - }),
|
| - d.dir("lib", [
|
| - d.file("transformer.dart", TRANSFORMER)
|
| - ]),
|
| - d.dir("web", [
|
| - d.file("foo.txt", "foo")
|
| - ])
|
| - ]).create();
|
| -
|
| - createLockFile('myapp', pkg: ['barback']);
|
| -
|
| - schedulePub(args: ["build", "--format", "json"],
|
| - outputJson: {
|
| - "buildResult": "failure",
|
| - "errors": [
|
| - {
|
| - "error": startsWith("Transform Rewrite on myapp|web/foo.txt "
|
| - "threw error: oh no!")
|
| - }
|
| - ],
|
| - "log": []
|
| - },
|
| - exitCode: exit_codes.DATA);
|
| - });
|
| - });
|
| + integration("outputs error to JSON in a failed build", () {
|
| + d.dir(appPath, [
|
| + d.pubspec({
|
| + "name": "myapp",
|
| + "transformers": ["myapp"]
|
| + }),
|
| + d.dir("lib", [
|
| + d.file("transformer.dart", TRANSFORMER)
|
| + ]),
|
| + d.dir("web", [
|
| + d.file("foo.txt", "foo")
|
| + ])
|
| + ]).create();
|
| +
|
| + createLockFile('myapp', pkg: ['barback']);
|
| +
|
| + schedulePub(args: ["build", "--format", "json"],
|
| + outputJson: {
|
| + "buildResult": "failure",
|
| + "errors": [
|
| + {
|
| + "error": startsWith("Transform Rewrite on myapp|web/foo.txt "
|
| + "threw error: oh no!")
|
| + }
|
| + ],
|
| + "log": []
|
| + },
|
| + exitCode: exit_codes.DATA);
|
| + });
|
| }
|
|
|