From a14a5ece342f977946d6623b22c258a479196d4e Mon Sep 17 00:00:00 2001 From: "J. King" Date: Wed, 26 Jul 2023 16:34:56 -0400 Subject: [PATCH] Typo --- tests/cases/StandardTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cases/StandardTest.php b/tests/cases/StandardTest.php index cb2d2e2..1aca503 100644 --- a/tests/cases/StandardTest.php +++ b/tests/cases/StandardTest.php @@ -97,7 +97,7 @@ class StandardTest extends \PHPUnit\Framework\TestCase { $name = str_replace($base, "", $name); // perform some special handling for the standard unit test suite if (!$options && preg_match('/^microformats-v2-unit\//', $name)) { - if (preg_match('/^microformats-v2-unit\/(?!text\/)/', $name)) { + if (preg_match('/^microformats-v2-unit\/(?=text\/)/', $name)) { // if we're doing standard textContent tests, do a single test with the correct option yield $name => [$name, $path, ['thoroughTrim' => false]]; } else {