cvs: php-src /ext/iconv/tests translit-failure.phpt
| From: | Moriyoshi Koizumi | Date: | Sun, 06 Jul 2003 21:44:44 +0000 |
| Subject: | cvs: php-src /ext/iconv/tests translit-failure.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-22390@lists.php.net to get a copy of this message | ||
moriyoshi Sun Jul 6 17:44:44 2003 EDT
Modified files:
/php-src/ext/iconv/tests translit-failure.phpt
Log:
Updated test so it won't fail if the extension has been built with libiconv.
Index: php-src/ext/iconv/tests/translit-failure.phpt
diff -u php-src/ext/iconv/tests/translit-failure.phpt:1.8
php-src/ext/iconv/tests/translit-failure.phpt:1.9
--- php-src/ext/iconv/tests/translit-failure.phpt:1.8 Tue Oct 29 11:25:23 2002
+++ php-src/ext/iconv/tests/translit-failure.phpt Sun Jul 6 17:44:44 2003
@@ -25,9 +25,7 @@
$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."