From e661d9e22a2fea5b0821f70c03ead0b0585e9a31 Mon Sep 17 00:00:00 2001 From: Moriyoshi Koizumi Date: Sun, 6 Jul 2003 21:44:44 +0000 Subject: [PATCH] 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 d0fbf5c86ad..a97e29c029e 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."