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

Unified Diff: tests/standalone/typed_data_test.dart

Issue 13863012: Refactor List.setRange function. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed comments. Created 7 years, 8 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/standalone/io/web_socket_protocol_processor_test.dart ('k') | tools/dom/src/WrappedList.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/typed_data_test.dart
diff --git a/tests/standalone/typed_data_test.dart b/tests/standalone/typed_data_test.dart
index 62c4425c4be2e1864255371320452070bef551e9..11e3366e51c1e5061bcfb883df6f54ebe321cd16 100644
--- a/tests/standalone/typed_data_test.dart
+++ b/tests/standalone/typed_data_test.dart
@@ -161,7 +161,7 @@ void testSetRangeHelper(typed_data) {
Expect.equals(20 + i, list[i]);
}
- typed_data.setRange(1, 2, const [8, 9]);
+ typed_data.setRange(1, 3, const [8, 9]);
Expect.equals(20, typed_data[0]);
Expect.equals(8, typed_data[1]);
Expect.equals(9, typed_data[2]);
@@ -182,7 +182,7 @@ void testIndexOutOfRangeHelper(typed_data) {
});
Expect.throws(() {
- typed_data.setRange(3, 1, list);
+ typed_data.setRange(3, 4, list);
});
}
« no previous file with comments | « tests/standalone/io/web_socket_protocol_processor_test.dart ('k') | tools/dom/src/WrappedList.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698