We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c77b59a commit 0d5e1b5Copy full SHA for 0d5e1b5
Tests/Source/Base/Spring.Tests.Base.pas
@@ -4261,7 +4261,7 @@ procedure TSortTest.TestSort<T>(const genvalue: Func<T>);
4261
Generics.Collections.TArray.Sort<T>(data2, comparer);
4262
for i := 1 to High(data) do
4263
begin
4264
- Check(comparer.Compare(data[i-1], data[i-1]) <= 0);
+ Check(comparer.Compare(data[i-1], data[i]) <= 0);
4265
Check(comparer.Compare(data[i], data2[i]) = 0);
4266
end;
4267
0 commit comments