Skip to content

Commit 8ff1991

Browse files
committed
Fix test
1 parent 9b98cf3 commit 8ff1991

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ext/mbstring/tests/mb_substitute_character.phpt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ var_dump(bin2hex(mb_convert_encoding("\xe2\x99\xa0\xe3\x81\x82", "CP932", "UTF-8
2525

2626
var_dump(mb_substitute_character('BAD_NAME'));
2727
?>
28-
--EXPECT--
28+
--EXPECTF--
2929
bool(true)
3030
int(12356)
3131
string(8) "82a282a0"
@@ -38,5 +38,6 @@ string(4) "82a0"
3838
bool(true)
3939
string(6) "entity"
4040
string(20) "262378323636303b82a0"
41-
ERR: Warning
41+
42+
Warning: mb_substitute_character(): Unknown character in %s on line %d
4243
bool(false)

0 commit comments

Comments
 (0)