Browse Source

Typo

master
J. King 10 months ago
parent
commit
a14a5ece34
  1. 2
      tests/cases/StandardTest.php

2
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 {

Loading…
Cancel
Save