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

Unified Diff: sdk/lib/_internal/pub/test/transformer/dart2js/does_not_support_invalid_command_line_options_type_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_command_line_options_type_test.dart
diff --git a/sdk/lib/_internal/pub/test/transformer/dart2js/does_not_support_invalid_command_line_options_type_test.dart b/sdk/lib/_internal/pub/test/transformer/dart2js/does_not_support_invalid_command_line_options_type_test.dart
index 66ee7037e020f49948036b41b1ebfb6ea82fb82a..d8e56aadf6f2ac9ef5f4ba5333c2b9f6cf4c6c5f 100644
--- a/sdk/lib/_internal/pub/test/transformer/dart2js/does_not_support_invalid_command_line_options_type_test.dart
+++ b/sdk/lib/_internal/pub/test/transformer/dart2js/does_not_support_invalid_command_line_options_type_test.dart
@@ -34,11 +34,11 @@ main() {
var server = pubServe();
// Make a request first to trigger compilation.
requestShould404("main.dart.js");
- expect(server.nextErrLine(), completion(equals('Build error:')));
- expect(server.nextErrLine(), completion(equals(
+ server.stderr.expect(emitsLines(
+ 'Build error:\n'
'Transform Dart2JS on myapp|web/main.dart threw error: '
'FormatException: Invalid value for \$dart2js.commandLineOptions: '
- '"foo" (expected list of strings).')));
+ '"foo" (expected list of strings).'));
endPubServe();
});
}

Powered by Google App Engine
This is Rietveld 408576698