Skip to content

Commit 48df358

Browse files
committed
Test tweaks
1 parent 90b29e4 commit 48df358

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

ext/mbstring/tests/mb_detect_encoding.phpt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,6 @@ $s = $euc_jp;
8787
$s = mb_detect_encoding($s, 'BAD');
8888
print("BAD: $s\n"); // BAD
8989

90-
$s = $euc_jp;
91-
$s = mb_detect_encoding();
92-
print("MP: $s\n"); // Missing parameter
93-
94-
9590
?>
9691
--EXPECTF--
9792
== BASIC TEST ==
@@ -113,6 +108,3 @@ EUC-JP: EUC-JP
113108

114109
Warning: mb_detect_encoding(): Illegal argument in %s on line %d
115110
BAD: EUC-JP
116-
117-
Warning: mb_detect_encoding() expects at least 1 parameter, 0 given in %s on line %d
118-
MP:

ext/mbstring/tests/mb_strlen.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,4 @@ echo $r."\n";
7878
101
7979
== WRONG PARAMETERS ==
8080

81-
8281
Warning: mb_strlen(): Unknown encoding "BAD_NAME" in %s on line %d

0 commit comments

Comments
 (0)