mirror of
https://github.com/php/php-src.git
synced 2026-04-01 13:12:16 +02:00
Fix broken test case
The test claims that it would be "checking all the values in returned array", but due to the use of %a it actually skipped elements. We fix that by using %s instead.
This commit is contained in:
@@ -25,26 +25,28 @@ var_dump(gd_info());
|
|||||||
*** Testing gd_info() : variation ***
|
*** Testing gd_info() : variation ***
|
||||||
array(%d) {
|
array(%d) {
|
||||||
["GD Version"]=>
|
["GD Version"]=>
|
||||||
string(%d) %a
|
string(%d) %s
|
||||||
["FreeType Support"]=>
|
["FreeType Support"]=>
|
||||||
bool%a
|
bool(%s)
|
||||||
["T1Lib Support"]=>
|
["T1Lib Support"]=>
|
||||||
bool%a
|
bool(%s)
|
||||||
["GIF Read Support"]=>
|
["GIF Read Support"]=>
|
||||||
bool%a
|
bool(%s)
|
||||||
["GIF Create Support"]=>
|
["GIF Create Support"]=>
|
||||||
bool%a
|
bool(%s)
|
||||||
["JPEG Support"]=>
|
["JPEG Support"]=>
|
||||||
bool%a
|
bool(%s)
|
||||||
["PNG Support"]=>
|
["PNG Support"]=>
|
||||||
bool%a
|
bool(%s)
|
||||||
["WBMP Support"]=>
|
["WBMP Support"]=>
|
||||||
bool%a
|
bool(%s)
|
||||||
["XPM Support"]=>
|
["XPM Support"]=>
|
||||||
bool%a
|
bool(%s)
|
||||||
["XBM Support"]=>
|
["XBM Support"]=>
|
||||||
bool%a
|
bool(%s)
|
||||||
|
["WebP Support"]=>
|
||||||
|
bool(%s)
|
||||||
["JIS-mapped Japanese Font Support"]=>
|
["JIS-mapped Japanese Font Support"]=>
|
||||||
bool%a
|
bool(%s)
|
||||||
}
|
}
|
||||||
===DONE===
|
===DONE===
|
||||||
Reference in New Issue
Block a user