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

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

Issue 18097006: Fix types in test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/async_catch_errors_test.dart
diff --git a/tests/standalone/io/async_catch_errors_test.dart b/tests/standalone/io/async_catch_errors_test.dart
index 68ebec0790c15169c53671aa15694c178da6eaaf..7107bf20ecf2f6712bb7d191801994036830aa47 100644
--- a/tests/standalone/io/async_catch_errors_test.dart
+++ b/tests/standalone/io/async_catch_errors_test.dart
@@ -9,7 +9,7 @@ import 'dart:io';
var events = [];
-void testSocketException() {
+Future testSocketException() {
var completer = new Completer();
runZonedExperimental(() {
Socket.connect("4", 1).then((Socket s) {
@@ -23,7 +23,7 @@ void testSocketException() {
return completer.future;
}
-void testFileException() {
+Future testFileException() {
var completer = new Completer();
runZonedExperimental(() {
new File("lol it's not a file\n").openRead().listen(null);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698