From: Matteo Beccati Date: Wed, 31 Aug 2011 22:12:53 +0000 (+0000) Subject: Fixed false positive failure on gcov X-Git-Tag: php-5.3.9RC1~295 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f4e100e47fb625b9c55061c1ed1fac10efe5c278;p=php Fixed false positive failure on gcov --- diff --git a/ext/curl/tests/curl_setopt_basic002.phpt b/ext/curl/tests/curl_setopt_basic002.phpt index 051703fb08..c9123297fd 100644 --- a/ext/curl/tests/curl_setopt_basic002.phpt +++ b/ext/curl/tests/curl_setopt_basic002.phpt @@ -26,7 +26,7 @@ $curl_content = curl_exec($ch); fclose($handle); unset($handle); -var_dump( file_get_contents($temp_file) ); +var_dump(preg_replace('/[\r\n]/', ' ', file_get_contents($temp_file))); @unlink($temp_file); ob_start(); // start output buffering @@ -38,7 +38,7 @@ ob_end_clean(); fclose($handle); unset($handle); -var_dump( file_get_contents($temp_file) ); +var_dump(preg_replace('/[\r\n]/', ' ', file_get_contents($temp_file))); @unlink($temp_file); curl_close($ch);