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

Unified Diff: tests/html/indexeddb_2_test.dart

Issue 12194026: Specify named parameters for optional parameter in tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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 | tests/html/indexeddb_3_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/indexeddb_2_test.dart
diff --git a/tests/html/indexeddb_2_test.dart b/tests/html/indexeddb_2_test.dart
index 66fef6c89f7c5fc9ccafef47eb36c299877da655..ac97a792af1034a6e068ff0c3d6a2d88ca28ad93 100644
--- a/tests/html/indexeddb_2_test.dart
+++ b/tests/html/indexeddb_2_test.dart
@@ -30,7 +30,7 @@ testReadWrite(key, value, check,
}
step2(e) {
- var transaction = db.transaction(storeName, 'readonly');
+ var transaction = db.transaction(storeName, mode : 'readonly');
var request = transaction.objectStore(storeName).getObject(key);
request.onSuccess.listen(expectAsync1((e) {
var object = e.target.result;
@@ -41,7 +41,7 @@ testReadWrite(key, value, check,
}
step1() {
- var transaction = db.transaction([storeName], 'readwrite');
+ var transaction = db.transaction([storeName], mode : 'readwrite');
var request = transaction.objectStore(storeName).put(value, key);
request.onSuccess.listen(expectAsync1(step2));
request.onError.listen(fail);
« no previous file with comments | « no previous file | tests/html/indexeddb_3_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698