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

Unified Diff: pkg/intl/test/date_time_format_test_core.dart

Issue 12817003: Change getRange to sublist. Make getRange deprecated. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed review comments Created 7 years, 9 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
Index: pkg/intl/test/date_time_format_test_core.dart
diff --git a/pkg/intl/test/date_time_format_test_core.dart b/pkg/intl/test/date_time_format_test_core.dart
index fce9e6e9b73f6561bc2e595963349ee0d500d9f3..ff880f86945c7b3a77b4ec268b0ac876dee850b7 100644
--- a/pkg/intl/test/date_time_format_test_core.dart
+++ b/pkg/intl/test/date_time_format_test_core.dart
@@ -184,7 +184,7 @@ List oddLocales() {
* Return a set of a few locales to run just the tests on a small sample.
*/
List smallSetOfLocales() {
- return allLocales().getRange(0,10);
+ return allLocales().sublist(0,10);
}
/**

Powered by Google App Engine
This is Rietveld 408576698