diff --git a/core/tests/Drupal/Tests/Component/Utility/SafeMarkupTest.php b/core/tests/Drupal/Tests/Component/Utility/SafeMarkupTest.php
index 4e2850fe23..d144d88f0d 100644
--- a/core/tests/Drupal/Tests/Component/Utility/SafeMarkupTest.php
+++ b/core/tests/Drupal/Tests/Component/Utility/SafeMarkupTest.php
@@ -86,7 +86,7 @@ public function testHtmlEscapedText($text, $expected, $message) {
   }
 
   /**
-   * Data provider for testCheckPlain() and testEscapeString().
+   * Data provider for testCheckPlain().
    *
    * @see testCheckPlain()
    */
