Skip to content

Commit e87c86b

Browse files
committed
Fix warning in run-tests.php
1 parent d56310c commit e87c86b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run-tests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3385,7 +3385,7 @@ function clear_show_test(): void
33853385
// Parallel testing
33863386
global $workerID;
33873387

3388-
if (!$workerID) {
3388+
if (!$workerID && isset($line_length)) {
33893389
// Write over the last line to avoid random trailing chars on next echo
33903390
echo str_repeat(" ", $line_length), "\r";
33913391
}

0 commit comments

Comments
 (0)