Initial unit tests for writing a PDF file.

This commit is contained in:
Michael R Sweet
2021-05-16 12:36:44 -04:00
parent 548ff7d119
commit 35ea209c73
2 changed files with 64 additions and 1 deletions

View File

@@ -99,9 +99,10 @@ _pdfioFileFlush(pdfio_file_t *pdf) // I - PDF file
return (false);
pdf->bufpos += pdf->bufptr - pdf->buffer;
pdf->bufptr = pdf->buffer;
}
pdf->bufptr = pdf->buffer;
return (true);
}