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

Unified Diff: sdk/lib/_internal/pub/test/transformer/dart2js/does_not_support_invalid_option_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/dart2js/does_not_support_invalid_option_test.dart
diff --git a/sdk/lib/_internal/pub/test/transformer/dart2js/does_not_support_invalid_option_test.dart b/sdk/lib/_internal/pub/test/transformer/dart2js/does_not_support_invalid_option_test.dart
index b683978cebb42a07b1e5b465f64f9a5e3b573808..a29489e24233208cfab6d960dcba57e10b952ab6 100644
--- a/sdk/lib/_internal/pub/test/transformer/dart2js/does_not_support_invalid_option_test.dart
+++ b/sdk/lib/_internal/pub/test/transformer/dart2js/does_not_support_invalid_option_test.dart
@@ -31,8 +31,7 @@ main() {
// TODO(nweiz): This should provide more context about how the option got
// passed to dart2js. See issue 16008.
var pub = startPubServe();
- expect(pub.nextErrLine(), completion(
- equals('Unrecognized dart2js option "invalidOption".')));
+ pub.stderr.expect('Unrecognized dart2js option "invalidOption".');
pub.shouldExit(1);
});
}

Powered by Google App Engine
This is Rietveld 408576698