From 624122daff0a147a2a04331b2d9abdc268be6188 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Wed, 23 Jul 2008 09:29:09 +0000 Subject: [PATCH] sync test with other branches --- ext/standard/tests/strings/sprintf_variation23.phpt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ext/standard/tests/strings/sprintf_variation23.phpt b/ext/standard/tests/strings/sprintf_variation23.phpt index 78b0e3dc2f..f502e589dd 100644 --- a/ext/standard/tests/strings/sprintf_variation23.phpt +++ b/ext/standard/tests/strings/sprintf_variation23.phpt @@ -39,11 +39,11 @@ foreach($resource_values as $resource_value) { // closing the resources fclose($fp); -closedir($dfp); +fclose($dfp); echo "Done"; ?> ---EXPECT-- +--EXPECTF-- *** Testing sprintf() : char formats with resource values *** -- Iteration 1 -- @@ -75,4 +75,6 @@ unicode(1) "" unicode(1) "" unicode(11) "a-bA-B@#$&]" unicode(1) "c" + +Warning: fclose(): %d is not a valid stream resource in %s on line %d Done -- 2.50.1