From f975b0604d6da630f26ecbb9c1efecd782fec339 Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Wed, 28 Aug 2024 10:15:51 +0200 Subject: [PATCH] Fix test expectations --- tests/Type/Nette/data/strings-match.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Type/Nette/data/strings-match.php b/tests/Type/Nette/data/strings-match.php index 011f0e9..5236e30 100644 --- a/tests/Type/Nette/data/strings-match.php +++ b/tests/Type/Nette/data/strings-match.php @@ -40,6 +40,6 @@ function (string $s): void { }; function (string $s): void { - $result = Strings::matchAll($lineContent, '~\[gallery ids=(„|")(?([0-9]+,? ?)+)(“|")~'); - assertType('list', $result); + $result = Strings::matchAll($s, '~\[gallery ids=(„|")(?([0-9]+,? ?)+)(“|")~'); + assertType("list", $result); };