diff --git a/tests/functional/CMarkRegressionTest.php b/tests/functional/CMarkRegressionTest.php index 16ae72a1de..3ebd402fb0 100644 --- a/tests/functional/CMarkRegressionTest.php +++ b/tests/functional/CMarkRegressionTest.php @@ -33,6 +33,12 @@ public static function dataProvider(): \Generator $example['output'] = \str_replace('', "\n", $example['output']); } + // The case-fold test from example 21 fails on PHP 8.0.* and below due to the behavior of mb_convert_case(). + // See https://3v4l.org/7TeXJ. + if (\PHP_VERSION_ID < 81000 && $example['number'] === 21) { + continue; + } + yield $example; } }