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

Unified Diff: tests/html/indexeddb_4_test.dart

Issue 10540006: Revert recent changes to indexeddb_4_test. (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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698