Index: tests/standalone/io/many_directory_operations_test.dart |
diff --git a/tests/standalone/io/many_directory_operations_test.dart b/tests/standalone/io/many_directory_operations_test.dart |
index d13c7f6725b404486242ddcdba936882246065cb..4470eaa4ad5024a4686ba2ef79b61a6df59fc28a 100644 |
--- a/tests/standalone/io/many_directory_operations_test.dart |
+++ b/tests/standalone/io/many_directory_operations_test.dart |
@@ -8,7 +8,6 @@ |
main() { |
for (var i = 0; i < 10000; i++) { |
- Directory d = new Directory("."); |
- d.exists((result) => null); |
+ new Directory(".").exists().then((result) => null); |
} |
} |