Index: tests/html/fileapi_test.dart |
diff --git a/tests/html/fileapi_test.dart b/tests/html/fileapi_test.dart |
index bc2e254385de8360a524e47179f8aa308fc76756..47f06959b082a4de102f4ab3833d86d778833c31 100644 |
--- a/tests/html/fileapi_test.dart |
+++ b/tests/html/fileapi_test.dart |
@@ -99,7 +99,7 @@ main() { |
return fs.root.createDirectory( |
'directory3') |
.then((DirectoryEntry dir) { |
- return new Future.immediate(new FileAndDir(file, dir)); |
+ return new Future.value(new FileAndDir(file, dir)); |
}); |
}); |
} |