Browse Source

fix tests

pull/2181/head
Anatol Belski 9 years ago
parent
commit
6a34065bf0
  1. 4
      ext/mbstring/tests/bug72994.phpt
  2. 8
      ext/mbstring/tests/mb_ereg_replace_variation1.phpt
  3. 4
      ext/mbstring/tests/mb_ereg_variation3.phpt

4
ext/mbstring/tests/bug72994.phpt

@ -13,5 +13,7 @@ var_dump($var1);
===DONE===
--EXPECTF--
Notice: Undefined variable: var in %s on line %d
string(0) ""
Warning: mbereg_replace(): mbregex compile err: invalid code point value in %sbug72994.php on line %d
bool(false)
===DONE===

8
ext/mbstring/tests/mb_ereg_replace_variation1.phpt

@ -109,13 +109,17 @@ string(10) "string_val"
string(10) "string_val"
-- Iteration 4 --
string(10) "string_val"
Warning: mb_ereg_replace(): mbregex compile err: invalid code point value in %smb_ereg_replace_variation1.php on line %d
bool(false)
-- Iteration 5 --
string(10) "string_val"
-- Iteration 6 --
string(10) "string_val"
Warning: mb_ereg_replace(): mbregex compile err: invalid code point value in %smb_ereg_replace_variation1.php on line %d
bool(false)
-- Iteration 7 --
string(10) "string_val"

4
ext/mbstring/tests/mb_ereg_variation3.phpt

@ -123,10 +123,10 @@ array(1) {
}
-- Iteration 8 --
int(10)
int(9)
array(1) {
[0]=>
string(16) "5pel5pys6KqeCQ=="
string(12) "5pel5pys6Kqe"
}
-- Iteration 9 --

Loading…
Cancel
Save