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

Unified Diff: tests/html/localstorage_test.dart

Issue 11267018: Make getKeys, getValues getters (keys, values). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status files with co19 issue number. Created 8 years, 2 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 | « tests/html/js_interop_3_test.dart ('k') | tests/html/utils.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/localstorage_test.dart
diff --git a/tests/html/localstorage_test.dart b/tests/html/localstorage_test.dart
index 2eb226ff957b938b4b77fdeb4ff1bc1c7652dbe1..38e4204a8ee91485c26ffcbe8fac601387959c6b 100644
--- a/tests/html/localstorage_test.dart
+++ b/tests/html/localstorage_test.dart
@@ -87,12 +87,12 @@ main() {
});
testWithLocalStorage('getKeys', () {
- Expect.setEquals(['key1', 'key2', 'key3'], window.localStorage.getKeys());
+ Expect.setEquals(['key1', 'key2', 'key3'], window.localStorage.keys);
});
testWithLocalStorage('getVals', () {
Expect.setEquals(['val1', 'val2', 'val3'],
- window.localStorage.getValues());
+ window.localStorage.values);
});
testWithLocalStorage('length', () {
« no previous file with comments | « tests/html/js_interop_3_test.dart ('k') | tests/html/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698