csvdocument: bugfixes in testsuite files handling

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1627 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
vvzh 2011-05-10 13:29:34 +00:00
parent 14f614f81b
commit 5fdd6f03d4

View File

@ -68,7 +68,7 @@ begin
OutBuffer := TestCsvString(ADocument, InBuffer, ParseTime, BuildTime);
Write(ExtractFileName(AnInputFilename));
if OutBuffer = InBuffer then
if OutBuffer = SampleBuffer then
begin
Write(': ok');
WriteLn(' (parsed in ', BuildTime, ' ms)');
@ -102,7 +102,7 @@ begin
CurrentTestFile := TestFiles[I];
TestCsvFile(ADocument,
CurrentTestFile,
ChangeFileExt(CurrentTestFile, '.sample' + ExtractFileExt(CurrentTestFile)));
ChangeFileExt(CurrentTestFile, '.sample'));
end;
FreeAndNil(TestFiles);
WriteLn();