Skip to content

Commit e3fb4af

Browse files
staabmondrejmirtes
authored andcommitted
Fix test expectations
1 parent 6d0cafb commit e3fb4af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Type/Nette/data/strings-match.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ function (string $s): void {
4040
};
4141

4242
function (string $s): void {
43-
$result = Strings::matchAll($lineContent, '~\[gallery ids=(„|")(?<allIds>([0-9]+,? ?)+)(“|")~');
44-
assertType('list<array{0: string, 1: non-empty-string, allIds: non-empty-string, 2: non-empty-string, 3: non-empty-string, 4: non-empty-string}>', $result);
43+
$result = Strings::matchAll($s, '~\[gallery ids=(„|")(?<allIds>([0-9]+,? ?)+)(“|")~');
44+
assertType("list<array{0: string, 1: '"'|'', allIds: non-empty-string, 2: non-empty-string, 3: non-empty-string, 4: '"'|''}>", $result);
4545
};

0 commit comments

Comments
 (0)