Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
Larger for safety
Browse files Browse the repository at this point in the history
  • Loading branch information
natebosch committed Nov 8, 2023
1 parent 223033d commit d75e68b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/algorithms_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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<int>.generate(length, (i) => i);
expect(() => mergeSort<num>(list), returnsNormally);
Expand Down

0 comments on commit d75e68b

Please sign in to comment.