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

Unified Diff: sdk/lib/_internal/pub/test/transformer/fails_to_load_a_pubspec_with_reserved_transformer_test.dart

Issue 164773003: Change ScheduledProcess's output streams over to be ScheduledStreams. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review Created 6 years, 10 months 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
Index: sdk/lib/_internal/pub/test/transformer/fails_to_load_a_pubspec_with_reserved_transformer_test.dart
diff --git a/sdk/lib/_internal/pub/test/transformer/fails_to_load_a_pubspec_with_reserved_transformer_test.dart b/sdk/lib/_internal/pub/test/transformer/fails_to_load_a_pubspec_with_reserved_transformer_test.dart
index 8eed7c46c334cbe7d829174580453f916f5a096c..f004b2360bc2a619eb14dc99a4f3131de8447dfe 100644
--- a/sdk/lib/_internal/pub/test/transformer/fails_to_load_a_pubspec_with_reserved_transformer_test.dart
+++ b/sdk/lib/_internal/pub/test/transformer/fails_to_load_a_pubspec_with_reserved_transformer_test.dart
@@ -27,11 +27,10 @@ main() {
createLockFile('myapp', pkg: ['barback']);
var pub = startPubServe();
- expect(pub.nextErrLine(), completion(equals('Error in pubspec for package '
- '"myapp" loaded from pubspec.yaml:')));
- expect(pub.nextErrLine(), completion(equals('Invalid transformer '
- 'identifier for "transformers.\$nonexistent": Unsupported built-in '
- 'transformer \$nonexistent.')));
+ pub.stderr.expect(emitsLines(
+ 'Error in pubspec for package "myapp" loaded from pubspec.yaml:\n'
+ 'Invalid transformer identifier for "transformers.\$nonexistent": '
+ 'Unsupported built-in transformer \$nonexistent.'));
pub.shouldExit(1);
});
}

Powered by Google App Engine
This is Rietveld 408576698