com php-src: Fix failing tests for readline() without input: ext/readline/tests/readline_without_input.phpt

From: Date: Sun, 10 Feb 2019 21:31:32 +0000
Subject: com php-src: Fix failing tests for readline() without input: ext/readline/tests/readline_without_input.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-104522@lists.php.net to get a copy of this message
Commit: eaddc9f7d9bca601b800f71bdb42644f1561bf00 Author: Peter Kokot <peterkokot@gmail.com> Sun, 10 Feb 2019 22:31:32 +0100 Parents: f9d66caddf0931432ddab51dae6cdc46e5eb1233 Branches: PHP-7.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=eaddc9f7d9bca601b800f71bdb42644f1561bf00 Log: 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. Changed paths: M ext/readline/tests/readline_without_input.phpt Diff: diff --git a/ext/readline/tests/readline_without_input.phpt b/ext/readline/tests/readline_without_input.phpt index 8d5720e..e269c5e 100644 --- a/ext/readline/tests/readline_without_input.phpt +++ b/ext/readline/tests/readline_without_input.phpt @@ -10,6 +10,6 @@ User Group: PHP-WVL & PHPGent #PHPTestFest var_dump(readline()); var_dump(readline('Prompt:')); ?> ---EXPECT-- -bool(false) +--EXPECTF-- bool(false) +%Abool(false)

« previous php.cvs (#104522) next »