Index: tests/standalone/io/directory_list_pause_test.dart |
diff --git a/tests/standalone/io/directory_list_pause_test.dart b/tests/standalone/io/directory_list_pause_test.dart |
index a38f125021fdd21c8a80cc3dcfd850ceca897562..159b769e1b01f8a6539ba9d4ddf568fbb6063dbf 100644 |
--- a/tests/standalone/io/directory_list_pause_test.dart |
+++ b/tests/standalone/io/directory_list_pause_test.dart |
@@ -8,7 +8,6 @@ import "dart:io"; |
import "package:async_helper/async_helper.dart"; |
import "package:expect/expect.dart"; |
- |
void testPauseList() { |
asyncStart(); |
// TOTAL should be bigger the our directory listing buffer. |
@@ -43,7 +42,6 @@ void testPauseList() { |
}); |
} |
- |
void testPauseResumeCancelList() { |
asyncStart(); |
// TOTAL should be bigger the our directory listing buffer. |
@@ -61,6 +59,7 @@ void testPauseResumeCancelList() { |
d.deleteSync(recursive: true); |
asyncEnd(); |
} |
+ |
var future = subscription.cancel(); |
if (future != null) { |
future.whenComplete(close); |