X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Ftidy%2FRemexDriverTest.php;h=b20557f2a8e2baead6c2e9e546815c0d71bb67a7;hb=255d76f2a13a8378ded9f0cf1c2bb172f7f07a5b;hp=6b16cbf695cd33b9b1f4013479e0e0b32d5777cb;hpb=9341a00ed1b27edb86618cf7bbfaf8a9f720c124;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/tidy/RemexDriverTest.php b/tests/phpunit/includes/tidy/RemexDriverTest.php index 6b16cbf695..b20557f2a8 100644 --- a/tests/phpunit/includes/tidy/RemexDriverTest.php +++ b/tests/phpunit/includes/tidy/RemexDriverTest.php @@ -200,14 +200,14 @@ class RemexDriverTest extends MediaWikiTestCase { 'a
d
e
', '

a

d

e

' ], + // phpcs:disable Generic.Files.LineLength [ 'Complex pwrap test 6', 'a
b
cd
e
f
g
', - // @codingStandardsIgnoreStart Generic.Files.LineLength.TooLong // PHP 5 does not allow concatenation in initialisation of a class static variable '

a

b

cd

e

fg

' - // @codingStandardsIgnoreEnd ], + // phpcs:enable /* FIXME the second causes a stack split which clones the even * though no

is actually generated [ @@ -252,6 +252,11 @@ class RemexDriverTest extends MediaWikiTestCase { '1

23

', '1

23

' ], + [ + 'AAA causes reparent of p-wrapped text node (T178632)', + '

x
', + '

x

', + ], ]; public function provider() {