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

Unified Diff: tests/html/indexeddb_1_test.dart

Issue 10556049: Address Stephen's comments. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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 | « no previous file | tests/html/indexeddb_2_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/indexeddb_1_test.dart
diff --git a/tests/html/indexeddb_1_test.dart b/tests/html/indexeddb_1_test.dart
index 0c876e72e3f3d2e1ae8027dd8284120660f492cd..d3882b651cfa3f62eb17b89561b76ff9971361e5 100644
--- a/tests/html/indexeddb_1_test.dart
+++ b/tests/html/indexeddb_1_test.dart
@@ -34,7 +34,7 @@ testReadWrite(key, value, check,
request.on.error.add(fail);
}
- step1([e]) {
+ step1() {
var transaction = db.transaction([storeName], 'readwrite');
var request = transaction.objectStore(storeName).put(value, key);
request.on.success.add(expectAsync1(step2));
@@ -53,7 +53,7 @@ testReadWrite(key, value, check,
createObjectStore();
var transaction = e.target.result;
- transaction.on.complete.add(expectAsync1(step1));
+ transaction.on.complete.add(expectAsync1((e) => step1()));
transaction.on.error.add(fail);
})
);
« no previous file with comments | « no previous file | tests/html/indexeddb_2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698