From d75e68bf165806356cc8ccec5e92fa73783c26a4 Mon Sep 17 00:00:00 2001 From: Nate Bosch Date: Wed, 8 Nov 2023 00:18:16 +0000 Subject: [PATCH] Larger for safety --- test/algorithms_test.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/algorithms_test.dart b/test/algorithms_test.dart index 009f6a0..359231b 100644 --- a/test/algorithms_test.dart +++ b/test/algorithms_test.dart @@ -370,7 +370,7 @@ void main() { test('mergeSort works when runtime generic is a subtype of the static type', () { // Regression test for https://github.com/dart-lang/collection/issues/317 - final length = 32; // _mergeSortLimit + final length = 1000; // Larger than _mergeSortLimit // In order list, first half empties first during merge. final list = List.generate(length, (i) => i); expect(() => mergeSort(list), returnsNormally);