mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 23:31:49 +02:00
Add some output to explain failure for test tests/webtbs/tw40624.pp
This commit is contained in:
parent
f80f1112d4
commit
46508f6af1
@ -14,9 +14,15 @@ begin
|
||||
DefaultFormatSettings.DecimalSeparator := '.';
|
||||
|
||||
if CurrToStr(C) <> '822337203685477.5807' then
|
||||
begin
|
||||
Writeln('Currentcy variable C as string is ',CurrToStr(C),' expecting 822337203685477.5807');
|
||||
Halt(1);
|
||||
end;
|
||||
S := V;
|
||||
if S <> '822337203685477.5807' then
|
||||
begin
|
||||
Writeln('Currency variable C passed to Variant variable V is ',S,' expecting 822337203685477.5807');
|
||||
Halt(2);
|
||||
end;
|
||||
WriteLn('OK');
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user