]> granicus.if.org Git - php/commitdiff
This test should not print out the error (which is correct).
authorfoobar <sniper@php.net>
Mon, 14 Oct 2002 23:09:48 +0000 (23:09 +0000)
committerfoobar <sniper@php.net>
Mon, 14 Oct 2002 23:09:48 +0000 (23:09 +0000)
ext/iconv/tests/translit-failure.phpt

index bcf7f9a38b06d940886186dddcbba1f2dbb5fee0..93379d98bc363481029ec51c939f388b18117e2e 100644 (file)
@@ -21,8 +21,10 @@ set_time_limit(5);
  */
 
 $test = 'Écrit par %s.';
-if (!iconv("ISO-8859-1", "ASCII//TRANSLIT", $test))
+
+if (!@iconv("ISO-8859-1", "ASCII//TRANSLIT", $test)) {
        echo 'wrong is right';
+}
 ?>
 --EXPECT--
 wrong is right