diff -u b/core/modules/color/tests/src/Functional/ColorTranslationPreviewTest.php b/core/modules/color/tests/src/Functional/ColorTranslationPreviewTest.php --- b/core/modules/color/tests/src/Functional/ColorTranslationPreviewTest.php +++ b/core/modules/color/tests/src/Functional/ColorTranslationPreviewTest.php @@ -55,7 +55,7 @@ $url_preview = 'core/modules/color/tests/modules/color_test/themes/color_test_theme/color/preview.html.twig'; $this->preview = file_get_contents($url_preview); $this->assertRegExp('/{% trans %}/', $this->preview); - $this->assertRegExp('/{% entrans %}/', $this->preview); + $this->assertRegExp('/{% endtrans %}/', $this->preview); }