summaryrefslogtreecommitdiff
path: root/ext/gd/tests/bug53504.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gd/tests/bug53504.phpt')
-rw-r--r--ext/gd/tests/bug53504.phpt20
1 files changed, 10 insertions, 10 deletions
diff --git a/ext/gd/tests/bug53504.phpt b/ext/gd/tests/bug53504.phpt
index c44e4ef0f8..11e7a8af57 100644
--- a/ext/gd/tests/bug53504.phpt
+++ b/ext/gd/tests/bug53504.phpt
@@ -51,16 +51,16 @@ $tests = [
foreach ($tests as $testnum => $test) {
$bbox = imageftbbox($test['fontSize'], $test['angle'], $font, $test['text']);
- printf('%2d: ', $testnum);
- for ($i = 0; $i < 8; $i++) {
- $exp = $test['exp'][$i];
- if ($bbox[$i] >= $exp - 2 && $bbox[$i] <= $exp + 2) {
- echo '.';
- } else {
- echo "(expected $exp, got $bbox[$i])";
- }
- }
- echo "\n";
+ printf('%2d: ', $testnum);
+ for ($i = 0; $i < 8; $i++) {
+ $exp = $test['exp'][$i];
+ if ($bbox[$i] >= $exp - 2 && $bbox[$i] <= $exp + 2) {
+ echo '.';
+ } else {
+ echo "(expected $exp, got $bbox[$i])";
+ }
+ }
+ echo "\n";
$bboxDrawn = imagefttext($g, $test['fontSize'], $test['angle'],
$test['x'], $test['y'], $black, $font, $test['text']);