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

Unified Diff: tests/standalone/io/test_extension_fail_test.dart

Issue 11740027: Rename unsubscribe to cancel. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Fix error message. Created 7 years, 12 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: tests/standalone/io/test_extension_fail_test.dart
diff --git a/tests/standalone/io/test_extension_fail_test.dart b/tests/standalone/io/test_extension_fail_test.dart
index 0226783c3a8387048058f1a4d4b1761105cfc82a..79ade79dec014e85d9cc1a4d7ba6d584ff9a0bd8 100644
--- a/tests/standalone/io/test_extension_fail_test.dart
+++ b/tests/standalone/io/test_extension_fail_test.dart
@@ -54,7 +54,7 @@ void main() {
}).then((_) {
Path script = testDirectory.append('test_extension_fail_tester.dart');
return Process.run(options.executable, [script.toNativePath()]);
- }).subscribe(onValue: (ProcessResult result) {
+ }).listen((ProcessResult result) {
print("ERR: ${result.stderr}\n\n");
print("OUT: ${result.stdout}\n\n");
Expect.equals(255, result.exitCode);
« sdk/lib/async/stream_impl.dart ('K') | « tests/lib/async/stream_controller_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698