| Index: test/run/does_not_run_on_transformer_error_test.dart
|
| diff --git a/test/run/does_not_run_on_transformer_error_test.dart b/test/run/does_not_run_on_transformer_error_test.dart
|
| index eadb8b0fa1894b6c9c50bf8349a6446cc338b682..0372b3465cbbaf9cb803168b7ab5671c05fb60df 100644
|
| --- a/test/run/does_not_run_on_transformer_error_test.dart
|
| +++ b/test/run/does_not_run_on_transformer_error_test.dart
|
| @@ -30,32 +30,30 @@ class FailingTransformer extends Transformer {
|
| """;
|
|
|
| main() {
|
| - withBarbackVersions("any", () {
|
| - integration('does not run if a transformer has an error', () {
|
| - d.dir(appPath, [
|
| - d.pubspec({
|
| - "name": "myapp",
|
| - "transformers": ["myapp/src/transformer"]
|
| - }),
|
| - d.dir("lib", [
|
| - d.dir("src", [
|
| - d.file("transformer.dart", TRANSFORMER)
|
| - ])
|
| - ]),
|
| - d.dir("bin", [
|
| - d.file("script.dart", SCRIPT)
|
| - ])
|
| - ]).create();
|
| -
|
| - createLockFile('myapp', pkg: ['barback']);
|
| -
|
| - var pub = pubRun(args: ["bin/script"]);
|
| -
|
| - pub.stderr.expect("[Error from Failing]:");
|
| - pub.stderr.expect("myapp|bin/script.dart.");
|
| -
|
| - // Note: no output from the script.
|
| - pub.shouldExit();
|
| - });
|
| - });
|
| + integration('does not run if a transformer has an error', () {
|
| + d.dir(appPath, [
|
| + d.pubspec({
|
| + "name": "myapp",
|
| + "transformers": ["myapp/src/transformer"]
|
| + }),
|
| + d.dir("lib", [
|
| + d.dir("src", [
|
| + d.file("transformer.dart", TRANSFORMER)
|
| + ])
|
| + ]),
|
| + d.dir("bin", [
|
| + d.file("script.dart", SCRIPT)
|
| + ])
|
| + ]).create();
|
| +
|
| + createLockFile('myapp', pkg: ['barback']);
|
| +
|
| + var pub = pubRun(args: ["bin/script"]);
|
| +
|
| + pub.stderr.expect("[Error from Failing]:");
|
| + pub.stderr.expect("myapp|bin/script.dart.");
|
| +
|
| + // Note: no output from the script.
|
| + pub.shouldExit();
|
| + });
|
| }
|
|
|