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

Unified Diff: test/breakpoint_test.dart

Issue 1929063002: pkg/vm_service_client: add getSourceReport to VMServiceReference (Closed) Base URL: https://github.com/dart-lang/vm_service_client.git@master
Patch Set: changelog oops Created 4 years, 8 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: test/breakpoint_test.dart
diff --git a/test/breakpoint_test.dart b/test/breakpoint_test.dart
index 38b1f3e7565b7142f5372f43b9a5096125765695..cbae151f213974b29ef2eed41725115adffb9b48 100644
--- a/test/breakpoint_test.dart
+++ b/test/breakpoint_test.dart
@@ -25,7 +25,7 @@ void main() {
var isolate = (await client.getVM()).isolates.first;
- var stdout = new StreamQueue(lines.bind(isolate.stdout));
+ var stdout = new StreamQueue(isolate.stdout.transform(lines));
nweiz 2016/04/29 00:52:44 Why are you making these changes in this CL?
kevmoo 2016/04/29 23:36:55 Acknowledged.
var line1 = new ResultFuture(stdout.next);
var line2 = new ResultFuture(stdout.next.catchError((_) {}));
@@ -64,7 +64,7 @@ void main() {
var isolate = (await client.getVM()).isolates.first;
- var stdout = new StreamQueue(lines.bind(isolate.stdout));
+ var stdout = new StreamQueue(isolate.stdout.transform(lines));
expect(stdout.next, completion(equals("one")));
expect(stdout.next, completion(equals("two")));

Powered by Google App Engine
This is Rietveld 408576698