Skip to content

Commit eaddc9f

Browse files
committed
Fix failing tests for readline() without input
If PHP readline extension is using libedit or readline the output is different with the readline library also the prompt is output.
1 parent f9d66ca commit eaddc9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/readline/tests/readline_without_input.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ User Group: PHP-WVL & PHPGent #PHPTestFest
1010
var_dump(readline());
1111
var_dump(readline('Prompt:'));
1212
?>
13-
--EXPECT--
14-
bool(false)
13+
--EXPECTF--
1514
bool(false)
15+
%Abool(false)

0 commit comments

Comments
 (0)