summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorChristoph M. Becker <cmb@php.net>2016-07-25 00:13:44 +0200
committerChristoph M. Becker <cmb@php.net>2016-07-25 00:13:44 +0200
commitd28f1dae9dbe09b63539efe94a0ef449f6790438 (patch)
treee46d223228f3dda350cea15bf88ae760d3813aa0 /ext
parent9cd23ff84f67edb8bbc7aad63d48d81a0e63ae46 (diff)
downloadphp-git-d28f1dae9dbe09b63539efe94a0ef449f6790438.tar.gz
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.
Diffstat (limited to 'ext')
-rw-r--r--ext/gd/tests/gd_info_variation1.phpt24
1 files changed, 13 insertions, 11 deletions
diff --git a/ext/gd/tests/gd_info_variation1.phpt b/ext/gd/tests/gd_info_variation1.phpt
index a725f6554d..fffde0ba24 100644
--- a/ext/gd/tests/gd_info_variation1.phpt
+++ b/ext/gd/tests/gd_info_variation1.phpt
@@ -25,26 +25,28 @@ var_dump(gd_info());
*** Testing gd_info() : variation ***
array(%d) {
["GD Version"]=>
- string(%d) %a
+ string(%d) %s
["FreeType Support"]=>
- bool%a
+ bool(%s)
["T1Lib Support"]=>
- bool%a
+ bool(%s)
["GIF Read Support"]=>
- bool%a
+ bool(%s)
["GIF Create Support"]=>
- bool%a
+ bool(%s)
["JPEG Support"]=>
- bool%a
+ bool(%s)
["PNG Support"]=>
- bool%a
+ bool(%s)
["WBMP Support"]=>
- bool%a
+ bool(%s)
["XPM Support"]=>
- bool%a
+ bool(%s)
["XBM Support"]=>
- bool%a
+ bool(%s)
+ ["WebP Support"]=>
+ bool(%s)
["JIS-mapped Japanese Font Support"]=>
- bool%a
+ bool(%s)
}
===DONE=== \ No newline at end of file