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 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;