fpcunit: compile on nodejs

This commit is contained in:
mattias 2025-01-20 15:11:16 +01:00
parent e53d3bc4a6
commit c6833bc17f

View File

@ -352,8 +352,8 @@ procedure GetMethodList(AObject: TObject; AList: TStrings); overload;
implementation
Const
sExpectedButWasFmt = 'Expected:' + LineEnding + '"%s"' + LineEnding + 'But was:' + LineEnding + '"%s"';
sExpectedButWasAndMessageFmt = '%s' + LineEnding + sExpectedButWasFmt;
sExpectedButWasFmt = 'Expected:'#10'"%s"'#10'But was:'#10'"%s"';
sExpectedButWasAndMessageFmt = '%s'#10 + sExpectedButWasFmt;
// Get the ClassName of C
function GetN(C : TClass) : string;