Skip to content

Commit 0d5e1b5

Browse files
committed
fixed #351
1 parent c77b59a commit 0d5e1b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Source/Base/Spring.Tests.Base.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4261,7 +4261,7 @@ procedure TSortTest.TestSort<T>(const genvalue: Func<T>);
42614261
Generics.Collections.TArray.Sort<T>(data2, comparer);
42624262
for i := 1 to High(data) do
42634263
begin
4264-
Check(comparer.Compare(data[i-1], data[i-1]) <= 0);
4264+
Check(comparer.Compare(data[i-1], data[i]) <= 0);
42654265
Check(comparer.Compare(data[i], data2[i]) = 0);
42664266
end;
42674267
end;

0 commit comments

Comments
 (0)