| Index: tests/html/indexeddb_4_test.dart
|
| diff --git a/tests/html/indexeddb_4_test.dart b/tests/html/indexeddb_4_test.dart
|
| index 06a4a0bf7034e90ac33adf2b148f8023719ed554..76e264e32d8cbdf7f6df3bcf8c2b915486b1950f 100644
|
| --- a/tests/html/indexeddb_4_test.dart
|
| +++ b/tests/html/indexeddb_4_test.dart
|
| @@ -81,14 +81,13 @@ main() {
|
| // Support is tested in indexeddb_1_test
|
| if (IdbFactory.supported) {
|
| var db;
|
| - test('prepare', () {
|
| - return setupDb().then((result) {
|
| - db = result;
|
| - });
|
| + setUp(() {
|
| + if (db == null) {
|
| + return setupDb().then((result) {
|
| + db = result;
|
| + });
|
| + }
|
| });
|
| -
|
| - test('only1', () => testRange(db, new KeyRange.only(55), 55, 55));
|
| -
|
| test('only1', () => testRange(db, new KeyRange.only(55), 55, 55));
|
| test('only2', () => testRange(db, new KeyRange.only(100), null, null));
|
| test('only3', () => testRange(db, new KeyRange.only(-1), null, null));
|
|
|