Question Details

No question body available.

Tags

delphi dunit

Answers (4)

July 1, 2026 Score: 1 Rep: 48,817 Quality: Low Completeness: 30%

Did the Assert.AreEqual actually fail when aList.Count returned 3 or did already the compiler complain?

July 1, 2026 Score: 0 Rep: 48,817 Quality: Low Completeness: 30%

Check if the type of aList.Count has changed.

July 1, 2026 Score: 0 Rep: 2,139 Quality: Low Completeness: 0%

No change; aList is a StringList and aList.Count is an integer :-)

July 2, 2026 Score: 0 Rep: 8,148 Quality: Low Completeness: 0%

Count is now NativeInt... so it can change depending on your target platform.