On Tue, 17 Jun 2025, Martin Frb via fpc-devel wrote:

On 14/06/2025 15:44, Michael Van Canneyt via fpc-devel wrote:

But then please do it so the comparison is done only once, i.e. something like:

if aExpected=aValue then
  Inc(AssertCount)
else
  Fail(ComparisonMsg(aMessage, aExpected,aValue),CallerAddress);

https://gitlab.com/freepascal.org/fpc/source/-/merge_requests/1041

Thanks, merged.

Michael.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to