]> granicus.if.org Git - php/commitdiff
MFH(r-1.9): updated test so it won't fail if the extension has been built with
authorMoriyoshi Koizumi <moriyoshi@php.net>
Sun, 6 Jul 2003 21:45:00 +0000 (21:45 +0000)
committerMoriyoshi Koizumi <moriyoshi@php.net>
Sun, 6 Jul 2003 21:45:00 +0000 (21:45 +0000)
libiconv

ext/iconv/tests/translit-failure.phpt

index d0fbf5c86add6052e5033fbdd239bb98aae4334b..a97e29c029ee505ab2b97caa66568773046d18d6 100644 (file)
@@ -25,9 +25,7 @@ set_time_limit(5);
 
 $test = 'Écrit par %s.';
 
-if (!@iconv("ISO-8859-1", "ASCII//TRANSLIT", $test)) {
-       echo 'wrong is right';
-}
+var_dump(iconv("ISO-8859-1", "ASCII//TRANSLIT", $test));
 ?>
 --EXPECT--
-wrong is right
+string(14) "'Ecrit par %s."