Trivial test adjustment

This commit is contained in:
Moriyoshi Koizumi 2003-02-03 20:29:07 +00:00
parent 0ae9394c39
commit 47f6ed8dbb
3 changed files with 4 additions and 8 deletions

View File

@ -75,11 +75,9 @@ EUC-JP
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

View File

@ -30,7 +30,7 @@ print "$enc\n";
// 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 @@ ASCII
ERR: Warning
OK_BAD_SET
ASCII
ERR: Notice
ERR: Warning
OK_BAD_ARY_SET
ASCII
ERR: Notice
ERR: Warning
OK_BAD_OBJ_SET
ASCII

View File

@ -166,10 +166,10 @@ OK_NEWLINE
== 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