Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1628)

Unified Diff: test/build/outputs_error_to_json_test.dart

Issue 1530353002: Drop support for older Barback versions. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/build/defaults_to_release_mode_test.dart ('k') | test/dart2js/compiles_generated_dart_file_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
+ });
}
« no previous file with comments | « test/build/defaults_to_release_mode_test.dart ('k') | test/dart2js/compiles_generated_dart_file_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698