summaryrefslogtreecommitdiff
path: root/ext/mbstring/tests
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-09-20 10:41:10 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-09-20 19:41:47 +0200
commite950ca13ea2e8f012ded007ac1251eea01269542 (patch)
tree3c22f2303d1d0ec2edf7e2fa1f1a495c7b2ae9e9 /ext/mbstring/tests
parentc0f8cc1904106753fcb8cc4ecfef0cf154479ad9 (diff)
downloadphp-git-e950ca13ea2e8f012ded007ac1251eea01269542.tar.gz
Consolidate the usage of "either" and "one of" in error messages
Closes GH-6173
Diffstat (limited to 'ext/mbstring/tests')
-rw-r--r--ext/mbstring/tests/mb_convert_case_various_mode.phpt2
-rw-r--r--ext/mbstring/tests/mb_http_input.phpt2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/mbstring/tests/mb_convert_case_various_mode.phpt b/ext/mbstring/tests/mb_convert_case_various_mode.phpt
index cd278ae52f..50653687aa 100644
--- a/ext/mbstring/tests/mb_convert_case_various_mode.phpt
+++ b/ext/mbstring/tests/mb_convert_case_various_mode.phpt
@@ -31,4 +31,4 @@ string(13) "FOO BAR SPAß"
string(13) "foo bar spaß"
string(13) "Foo Bar Spaß"
string(13) "foo bar spaß"
-mb_convert_case(): Argument #2 ($mode) must be one of MB_CASE_UPPER, MB_CASE_LOWER, MB_CASE_TITLE, MB_CASE_FOLD, MB_CASE_UPPER_SIMPLE, MB_CASE_LOWER_SIMPLE, MB_CASE_TITLE_SIMPLE, or MB_CASE_FOLD_SIMPLE
+mb_convert_case(): Argument #2 ($mode) must be one of the MB_CASE_* constants
diff --git a/ext/mbstring/tests/mb_http_input.phpt b/ext/mbstring/tests/mb_http_input.phpt
index e6bb0528ec..d1fba60f3f 100644
--- a/ext/mbstring/tests/mb_http_input.phpt
+++ b/ext/mbstring/tests/mb_http_input.phpt
@@ -43,4 +43,4 @@ array(1) {
string(10) "ISO-8859-1"
}
string(10) "ISO-8859-1"
-mb_http_input(): Argument #1 ($type) must be one of "G", "P", "C", "S", "I" or "L"
+mb_http_input(): Argument #1 ($type) must be one of "G", "P", "C", "S", "I", or "L"