Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(225)

Unified Diff: tests/html/fileapi_test.dart

Issue 14070010: Refactor Future constructors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Added co19 issue number. Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/compiler/dart2js/memory_source_file_helper.dart ('k') | tests/html/websql_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
});
});
}
« no previous file with comments | « tests/compiler/dart2js/memory_source_file_helper.dart ('k') | tests/html/websql_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698