Re: cvs: php4 /ext/iconv/tests translit-failure.phpt
| From: | Moriyoshi Koizumi | Date: | Tue, 15 Oct 2002 07:09:21 +0000 |
| Subject: | Re: cvs: php4 /ext/iconv/tests translit-failure.phpt | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-14931@lists.php.net to get a copy of this message | ||
Thanks!
Moriyoshi Koizumi
"Jani Taskinen" <sniper@iki.fi> wrote:
> sniper Mon Oct 14 19:09:48 2002 EDT
>
> Modified files:
> /php4/ext/iconv/tests translit-failure.phpt
> Log:
> This test should not print out the error (which is correct).
>
>
> Index: php4/ext/iconv/tests/translit-failure.phpt
> diff -u php4/ext/iconv/tests/translit-failure.phpt:1.4
> php4/ext/iconv/tests/translit-failure.phpt:1.5
> --- php4/ext/iconv/tests/translit-failure.phpt:1.4 Fri Oct 11 14:07:47 2002
> +++ php4/ext/iconv/tests/translit-failure.phpt Mon Oct 14 19:09:48 2002
> @@ -21,8 +21,10 @@
> */
>
> $test = ' rit par %s.';
> -if (!iconv("ISO-8859-1", "ASCII//TRANSLIT", $test))
> +
> +if (!@iconv("ISO-8859-1", "ASCII//TRANSLIT", $test)) {
> echo 'wrong is right';
> +}
> ?>
> --EXPECT--
> wrong is right