From 71461f74b26e8e4b48394ff0c96e82374398077f Mon Sep 17 00:00:00 2001 From: Moriyoshi Koizumi Date: Sun, 6 Jul 2003 21:45:00 +0000 Subject: [PATCH] MFH(r-1.9): updated test so it won't fail if the extension has been built with libiconv --- ext/iconv/tests/translit-failure.phpt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ext/iconv/tests/translit-failure.phpt b/ext/iconv/tests/translit-failure.phpt index d0fbf5c86a..a97e29c029 100644 --- a/ext/iconv/tests/translit-failure.phpt +++ b/ext/iconv/tests/translit-failure.phpt @@ -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." -- 2.50.1