Index: tests/standalone/io/directory_fuzz_test.dart |
diff --git a/tests/standalone/io/directory_fuzz_test.dart b/tests/standalone/io/directory_fuzz_test.dart |
index c1dadef04fff5c514e19c845dcfe2c3945725c54..dda9fe3f0e80c92694ae208f4e98386923787bd5 100644 |
--- a/tests/standalone/io/directory_fuzz_test.dart |
+++ b/tests/standalone/io/directory_fuzz_test.dart |
@@ -51,7 +51,7 @@ fuzzAsyncMethods() { |
futures.add(doItAsync(() { |
return d.exists().then((res) { |
if (!res) return d.delete(recursive: true); |
- return new Future.immediate(true); |
+ return new Future.value(true); |
}); |
})); |
typeMapping.forEach((k2, v2) { |