소스 검색

fpcunit: compile on nodejs

mattias 7 달 전
부모
커밋
c6833bc17f
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      packages/fpcunit/src/fpcunit.pas

+ 2 - 2
packages/fpcunit/src/fpcunit.pas

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