Index: tests/corelib/string_fromcharcodes_test.dart |
diff --git a/tests/corelib/string_fromcharcodes_test.dart b/tests/corelib/string_fromcharcodes_test.dart |
index 99c4643cac257b42b871191566b6ba90fbe64419..b344aca2805a33e5e31f9c4378a58868255dd3ed 100644 |
--- a/tests/corelib/string_fromcharcodes_test.dart |
+++ b/tests/corelib/string_fromcharcodes_test.dart |
@@ -193,4 +193,10 @@ main() { |
testSubstring("\x00" * 357); |
// length > 128 and non-ASCII. |
testSubstring("\uFFFD\uFFFE\u{10000}\u{10ffff}c\x00" * 37); |
+ |
+ // Large List. |
+ var megaList = ("abcde" * 200000).codeUnits.toList(); |
+ test("abcde" * 199998, megaList, 5, 999995); |
+ // Large Uint8List. |
+ test("abcde" * 199998, new Uint8List.fromList(megaList), 5, 999995); |
} |