Index: tests/html/indexeddb_4_test.dart |
diff --git a/tests/html/indexeddb_4_test.dart b/tests/html/indexeddb_4_test.dart |
index 3303677bb8e505ba39454d55bdead1ab8d29159d..4bd2fd04cfe0324212637d41cc9dbdad12de45e8 100644 |
--- a/tests/html/indexeddb_4_test.dart |
+++ b/tests/html/indexeddb_4_test.dart |
@@ -63,15 +63,15 @@ class Test { |
IDBObjectStore objectStore = txn.objectStore(STORE_NAME); |
IDBRequest cursorRequest = objectStore.openCursor(range); |
int itemCount = 0; |
- num firstKey = null; |
- num lastKey = null; |
+ int firstKey = null; |
+ int lastKey = null; |
cursorRequest.on.success.add(expectAsync1((e) { |
var cursor = e.target.result; |
if (cursor != null) { |
if (firstKey == null) firstKey = cursor.key; |
lastKey = cursor.key; |
itemCount += 1; |
- Expect.equals('Item ${cursor.key.toStringAsFixed(0)}', cursor.value); |
+ Expect.equals('Item ${cursor.key}', cursor.value); |
cursor.continueFunction(); |
} else { |
// Done |