mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-08-20 13:09:06 +02:00
fpcunit: compile on nodejs
This commit is contained in:
parent
e53d3bc4a6
commit
c6833bc17f
@ -352,8 +352,8 @@ procedure GetMethodList(AObject: TObject; AList: TStrings); overload;
|
|||||||
implementation
|
implementation
|
||||||
|
|
||||||
Const
|
Const
|
||||||
sExpectedButWasFmt = 'Expected:' + LineEnding + '"%s"' + LineEnding + 'But was:' + LineEnding + '"%s"';
|
sExpectedButWasFmt = 'Expected:'#10'"%s"'#10'But was:'#10'"%s"';
|
||||||
sExpectedButWasAndMessageFmt = '%s' + LineEnding + sExpectedButWasFmt;
|
sExpectedButWasAndMessageFmt = '%s'#10 + sExpectedButWasFmt;
|
||||||
|
|
||||||
// Get the ClassName of C
|
// Get the ClassName of C
|
||||||
function GetN(C : TClass) : string;
|
function GetN(C : TClass) : string;
|
||||||
|
Loading…
Reference in New Issue
Block a user