only in patch2: unchanged: --- a/core/modules/layout_discovery/tests/src/Kernel/LayoutTest.php +++ b/core/modules/layout_discovery/tests/src/Kernel/LayoutTest.php @@ -71,7 +71,7 @@ public function testRenderLayout($layout_id, $config, $regions, array $html) { $build_id_input = $this->cssSelect('input[name="form_build_id"]')[0]->asXML(); $form_id_input = ''; $html[] = 'Test suffix'; - $html[] = $build_id_input . $form_id_input . ''; + $html[] = $build_id_input . "\n" . $form_id_input . "\n" . ''; // Match the HTML to the full form element. $this->assertSame(implode("\n", $html), $this->cssSelect('#the-form-id')[0]->asXML());