Chromium Code Reviews| Index: tests/html/fileapi_test.dart |
| diff --git a/tests/html/fileapi_test.dart b/tests/html/fileapi_test.dart |
| index 697f17603f1c1d2a3a79b459c3f658ef322a97e0..1ad12af337849dca56daf9eb06a36406e9b9e01d 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)); |
| }); |
| }); |
| } |