Skip to content

Commit

Permalink
Fix unit test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
ssigwart committed Oct 24, 2023
1 parent 91eec42 commit f186d90
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/example_068.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,9 @@
$pdf->Output('example_068.pdf', 'I');

// Show memory usage
fputs(STDERR, 'Page cache size: ' . $pageCacheSize . 'MB' . PHP_EOL);
fputs(STDERR, sprintf('Peak memory: %0.03fMB', memory_get_peak_usage() / 1024 / 1024) . PHP_EOL);
// These will cause tests to fail, so leave them commented out, but you can use them to debug.
// fputs(STDERR, 'Page cache size: ' . $pageCacheSize . 'MB' . PHP_EOL);
// fputs(STDERR, sprintf('Peak memory: %0.03fMB', memory_get_peak_usage() / 1024 / 1024) . PHP_EOL);

//============================================================+
// END OF FILE
Expand Down

0 comments on commit f186d90

Please sign in to comment.