| Index: tests/html/indexeddb_3_test.dart
|
| diff --git a/tests/html/indexeddb_3_test.dart b/tests/html/indexeddb_3_test.dart
|
| index 7bdde5d0cd341765dbb14257236b8d5ba4e71bbd..f3027e79dc0959023c591971940904612c5250b6 100644
|
| --- a/tests/html/indexeddb_3_test.dart
|
| +++ b/tests/html/indexeddb_3_test.dart
|
| @@ -25,7 +25,8 @@ Future<Database> createAndOpenDb() {
|
| Future<Database> writeItems(Database db) {
|
| Future<Object> write(index) {
|
| var transaction = db.transaction(STORE_NAME, 'readwrite');
|
| - return transaction.objectStore(STORE_NAME).put('Item $index', index);
|
| + return transaction.objectStore(STORE_NAME).put('Item $index', index)
|
| + .then((_) => transaction.onComplete.first);
|
| }
|
|
|
| var future = write(0);
|
|
|