diff options
| author | Moriyoshi Koizumi <moriyoshi@php.net> | 2003-02-03 20:29:07 +0000 |
|---|---|---|
| committer | Moriyoshi Koizumi <moriyoshi@php.net> | 2003-02-03 20:29:07 +0000 |
| commit | 47f6ed8dbbfd6e693ace3a16d962e6f9ec3ef677 (patch) | |
| tree | 248cb15eaff8e0ae7a2e4dda2cc6ed896dd58c72 /ext | |
| parent | 0ae9394c39967cb866b7bee8e42303f4cd55ac45 (diff) | |
| download | php-git-47f6ed8dbbfd6e693ace3a16d962e6f9ec3ef677.tar.gz | |
Trivial test adjustment
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/mbstring/tests/mb_http_output.phpt | 2 | ||||
| -rw-r--r-- | ext/mbstring/tests/mb_internal_encoding.phpt | 4 | ||||
| -rw-r--r-- | ext/mbstring/tests/mb_strpos.phpt | 6 |
3 files changed, 4 insertions, 8 deletions
diff --git a/ext/mbstring/tests/mb_http_output.phpt b/ext/mbstring/tests/mb_http_output.phpt index 1e5d4ceb71..0a6839f7f1 100644 --- a/ext/mbstring/tests/mb_http_output.phpt +++ b/ext/mbstring/tests/mb_http_output.phpt @@ -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 diff --git a/ext/mbstring/tests/mb_internal_encoding.phpt b/ext/mbstring/tests/mb_internal_encoding.phpt index 28122707c8..1d62962529 100644 --- a/ext/mbstring/tests/mb_internal_encoding.phpt +++ b/ext/mbstring/tests/mb_internal_encoding.phpt @@ -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 diff --git a/ext/mbstring/tests/mb_strpos.phpt b/ext/mbstring/tests/mb_strpos.phpt index 69080f7d54..ca49599fa7 100644 --- a/ext/mbstring/tests/mb_strpos.phpt +++ b/ext/mbstring/tests/mb_strpos.phpt @@ -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 |
