diff --git a/core/modules/responsive_image/tests/src/Functional/ResponsiveImageFieldDisplayTest.php b/core/modules/responsive_image/tests/src/Functional/ResponsiveImageFieldDisplayTest.php index d0bee328f6..eed27bca26 100644 --- a/core/modules/responsive_image/tests/src/Functional/ResponsiveImageFieldDisplayTest.php +++ b/core/modules/responsive_image/tests/src/Functional/ResponsiveImageFieldDisplayTest.php @@ -505,7 +505,7 @@ public function testResponsiveImageFieldFormattersMultipleSources() { // Assert the picture tag has source tags that include dimensions. $this->drupalGet('node/' . $nid); - $this->assertSession()->responseMatches('/\s+\s+\s+\w+\s+<\/picture>/'); + $this->assertSession()->responseMatches('/\s+\s+\s+\w+\s+<\/picture>/'); } /**