cvs: php4 /ext/iconv/tests iconv003.phpt
| From: | Moriyoshi Koizumi | Date: | Wed, 06 Nov 2002 16:57:54 +0000 |
| Subject: | cvs: php4 /ext/iconv/tests iconv003.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-15861@lists.php.net to get a copy of this message | ||
moriyoshi Wed Nov 6 11:57:54 2002 EDT
Added files:
/php4/ext/iconv/tests iconv003.phpt
Log:
Added a test case to check the behaviour on failure
Index: php4/ext/iconv/tests/iconv003.phpt
+++ php4/ext/iconv/tests/iconv003.phpt
--TEST--
iconv() test 3
--FILE--
<?php
for ($i = 0; $i < 3; ++$i) {
if (@iconv('blah', 'blah', 'blah') != '') {
die("failed\n");
}
}
echo "success\n";
?>
--EXPECT--
success