| Index: tests/html/indexeddb_2_test.dart
|
| diff --git a/tests/html/indexeddb_2_test.dart b/tests/html/indexeddb_2_test.dart
|
| index cc1a27720a707d9babb1f90e9cc0d038b2ff64be..1e022d0ad798a109e827f0eedbeec3d2cbb6a05d 100644
|
| --- a/tests/html/indexeddb_2_test.dart
|
| +++ b/tests/html/indexeddb_2_test.dart
|
| @@ -39,7 +39,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));
|
| @@ -58,7 +58,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);
|
| })
|
| );
|
|
|