moriyoshi Mon Feb 3 15:29:07 2003 EDT Modified files: /php4/ext/mbstring/tests mb_http_output.phpt mb_internal_encoding.phpt mb_strpos.phpt Log: Trivial test adjustment Index: php4/ext/mbstring/tests/mb_http_output.phpt diff -u php4/ext/mbstring/tests/mb_http_output.phpt:1.2 php4/ext/mbstring/tests/mb_http_output.phpt:1.3 --- php4/ext/mbstring/tests/mb_http_output.phpt:1.2 Wed Oct 30 03:06:52 2002 +++ php4/ext/mbstring/tests/mb_http_output.phpt Mon Feb 3 15:29:07 2003 @@ -75,11 +75,9 @@ ERR: Warning OK_BAD_SET EUC-JP -ERR: Notice ERR: Warning OK_BAD_ARY_SET EUC-JP -ERR: Notice ERR: Warning OK_BAD_OBJ_SET EUC-JP Index: php4/ext/mbstring/tests/mb_internal_encoding.phpt diff -u php4/ext/mbstring/tests/mb_internal_encoding.phpt:1.2 php4/ext/mbstring/tests/mb_internal_encoding.phpt:1.3 --- php4/ext/mbstring/tests/mb_internal_encoding.phpt:1.2 Wed Oct 30 03:06:52 2002 +++ php4/ext/mbstring/tests/mb_internal_encoding.phpt Mon Feb 3 15:29:07 2003 @@ -30,7 +30,7 @@ // Invalid Parameter print "== INVALID PARAMETER ==\n"; -// Note: Other than string type, PHP raise both Notice and Warning +// Note: Other than string type, PHP raises Warning $r = mb_internal_encoding('BAD'); ($r === FALSE) ? print "OK_BAD_SET\n" : print "NG_BAD_SET\n"; $enc = mb_internal_encoding(); @@ -59,11 +59,9 @@ ERR: Warning OK_BAD_SET ASCII -ERR: Notice ERR: Warning OK_BAD_ARY_SET ASCII -ERR: Notice ERR: Warning OK_BAD_OBJ_SET ASCII Index: php4/ext/mbstring/tests/mb_strpos.phpt diff -u php4/ext/mbstring/tests/mb_strpos.phpt:1.3 php4/ext/mbstring/tests/mb_strpos.phpt:1.4 --- php4/ext/mbstring/tests/mb_strpos.phpt:1.3 Mon Feb 3 11:16:37 2003 +++ php4/ext/mbstring/tests/mb_strpos.phpt Mon Feb 3 15:29:07 2003 @@ -166,10 +166,10 @@ == INVALID PARAMETER TEST == ERR: Warning OK_NULL -ERR: Notice +ERR: Warning OK_ARRAY -ERR: Notice +ERR: Warning OK_OBJECT -ERR: Notice +ERR: Warning OK_BAD_ENCODING
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php