diff options
author | Moriyoshi Koizumi <moriyoshi@php.net> | 2003-07-06 21:44:44 +0000 |
---|---|---|
committer | Moriyoshi Koizumi <moriyoshi@php.net> | 2003-07-06 21:44:44 +0000 |
commit | e661d9e22a2fea5b0821f70c03ead0b0585e9a31 (patch) | |
tree | 20978cf085f991493598a0c7738662353435b5ea /ext/iconv | |
parent | 80a8ff3a43c13828f47fd66d144c77862c2f4937 (diff) | |
download | php-git-e661d9e22a2fea5b0821f70c03ead0b0585e9a31.tar.gz |
Updated test so it won't fail if the extension has been built with libiconv.
Diffstat (limited to 'ext/iconv')
-rw-r--r-- | ext/iconv/tests/translit-failure.phpt | 6 |
1 files 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." |