Skip to content

Commit 317f61d

Browse files
committed
fix CI
1 parent 94939d1 commit 317f61d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

ext/intl/tests/collator_sort_conversion_error_regular.phpt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ $array = [new BadRegularString(), 1];
1616
var_dump($coll->sort($array, Collator::SORT_REGULAR));
1717
var_dump($array[0] instanceof BadRegularString);
1818
var_dump($array[1]);
19-
var_dump($coll->getErrorCode() === U_INVALID_CHAR_FOUND);
20-
echo $coll->getErrorMessage(), "\n";
2119
var_dump(intl_get_error_code() === U_INVALID_CHAR_FOUND);
2220
echo intl_get_error_message(), "\n";
21+
var_dump($coll->getErrorCode() === U_INVALID_CHAR_FOUND);
22+
echo $coll->getErrorMessage(), "\n";
2323

2424
$array = ['a', new BadRegularString()];
2525
var_dump($coll->sort($array, Collator::SORT_REGULAR));
26-
var_dump($coll->getErrorCode() === U_INVALID_CHAR_FOUND);
2726
var_dump(intl_get_error_code() === U_INVALID_CHAR_FOUND);
2827
echo intl_get_error_message(), "\n";
28+
var_dump($coll->getErrorCode() === U_INVALID_CHAR_FOUND);
2929
var_dump($array[0], $array[1] instanceof BadRegularString);
3030

3131
$array = ['10', '9'];
@@ -48,8 +48,8 @@ bool(true)
4848
Collator::sort(): Error converting object string from UTF-8 to UTF-16: U_INVALID_CHAR_FOUND
4949
bool(false)
5050
bool(true)
51-
bool(true)
5251
Collator::sort(): Error converting object string from UTF-8 to UTF-16: U_INVALID_CHAR_FOUND
52+
bool(true)
5353
string(1) "a"
5454
bool(true)
5555
bool(true)

0 commit comments

Comments
 (0)