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

Unified Diff: tests/language/list_test.dart

Issue 12386072: Move Arrays class to private library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. 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 | « sdk/lib/collection/collections.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/list_test.dart
diff --git a/tests/language/list_test.dart b/tests/language/list_test.dart
index 1a9986f16364f2a558cd40a43c5fe494986fc56f..58000c72a2ab45a321957ea51ea0d9c8664ee6dd 100644
--- a/tests/language/list_test.dart
+++ b/tests/language/list_test.dart
@@ -57,6 +57,11 @@ class ListTest {
Expect.throws(() {
List a = new List(4);
+ a.setRange(1, 1, const [1, 2, 3, 4], null);
+ });
+
+ Expect.throws(() {
+ List a = new List(4);
a.setRange(10, 1, a, 1);
}, (e) => e is RangeError);
« no previous file with comments | « sdk/lib/collection/collections.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698