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