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

Unified Diff: utils/tests/pub/test_pub.dart

Issue 12374033: Remove the wrapStream workaround for issue 8310. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
« no previous file with comments | « utils/pub/utils.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/pub/test_pub.dart
diff --git a/utils/tests/pub/test_pub.dart b/utils/tests/pub/test_pub.dart
index b0d973a69a793af3cbf0dbb7675fe2c7cd96f01e..9ee04034ffa208f251a704aaba47cb3bfa10348c 100644
--- a/utils/tests/pub/test_pub.dart
+++ b/utils/tests/pub/test_pub.dart
@@ -1315,10 +1315,9 @@ class ScheduledProcess {
_process = p;
byteStreamToLines(stream) {
- var handledErrors = wrapStream(stream.handleError((e) {
+ return streamToLines(new ByteStream(stream.handleError((e) {
registerException(e.error, e.stackTrace);
- }));
- return streamToLines(new ByteStream(handledErrors).toStringStream());
+ })).toStringStream());
}
var stdoutTee = tee(byteStreamToLines(p.stdout));
« no previous file with comments | « utils/pub/utils.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698