Index: runtime/tests/dart/src/DirectoryTest.dart |
diff --git a/runtime/tests/dart/src/DirectoryTest.dart b/runtime/tests/dart/src/DirectoryTest.dart |
index 3215f9dd9af0f02837c7cee4ce7362ba168ce354..c72547782e92cacc75b483e6f8f7cc7d428ce6db 100644 |
--- a/runtime/tests/dart/src/DirectoryTest.dart |
+++ b/runtime/tests/dart/src/DirectoryTest.dart |
@@ -28,6 +28,10 @@ class DirectoryTest { |
}); |
directory.list(); |
+ |
+ // Listing is asynchronous, so nothing should be listed at this |
+ // point. |
+ Expect.isFalse(listedSomething); |
} |
static void testMain() { |