From 73631e517f1edbc1c9cc42b8e01dbb36d638c18f Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Tue, 22 Sep 2020 17:04:06 +0200 Subject: [PATCH] Try to fix test --- ext/intl/tests/grapheme.phpt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ext/intl/tests/grapheme.phpt b/ext/intl/tests/grapheme.phpt index 18cf3fb6d5..3fe02fcda7 100644 --- a/ext/intl/tests/grapheme.phpt +++ b/ext/intl/tests/grapheme.phpt @@ -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 -- 2.40.0