]> granicus.if.org Git - php/commitdiff
Try to fix test
authorNikita Popov <nikita.ppv@gmail.com>
Tue, 22 Sep 2020 15:04:06 +0000 (17:04 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Tue, 22 Sep 2020 15:04:06 +0000 (17:04 +0200)
ext/intl/tests/grapheme.phpt

index 18cf3fb6d5057d0ae2a0fd10ae27c57b9d0e2296..3fe02fcda78d2897919095f67a9cd6f5b03e8251 100644 (file)
@@ -973,8 +973,7 @@ find "a%CC%8ABca%CC%8A" in "o%CC%88a%CC%8AaA%CC%8AbCa%CC%8Adef" - grapheme_strri
 
 function grapheme_substr($string, $start, $length = -1) {}
 
-substring of "abc" from "3" - grapheme_substr: grapheme_substr(): Argument #2 ($start) must be contained in argument #1 ($string)
- = 3 == false **FAILED** 
+substring of "abc" from "3" - grapheme_substr = false == false
 substring of "aa%CC%8Abco%CC%88" from "5" - grapheme_substr = false == false
 substring of "aoa%CC%8Abco%CC%88O" from "2" - grapheme_substr = a%CC%8Abco%CC%88O == a%CC%8Abco%CC%88O
 substring of "o%CC%88a%CC%8AaA%CC%8Abc" from "2" - grapheme_substr = aA%CC%8Abc == aA%CC%8Abc