From 8be5edace119f476ac747c38cad1c722fa22d0af Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Fri, 19 Jun 2020 14:11:50 +0100
Subject: [PATCH] Issue #3144331 by mohrerao, longwave, daffie: Update comment
 in Drupal\Tests\RandomGeneratorTrait::randomStringValidate()

---
 core/tests/Drupal/Tests/RandomGeneratorTrait.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/core/tests/Drupal/Tests/RandomGeneratorTrait.php b/core/tests/Drupal/Tests/RandomGeneratorTrait.php
index df320237a2f5..0f27c63df741 100644
--- a/core/tests/Drupal/Tests/RandomGeneratorTrait.php
+++ b/core/tests/Drupal/Tests/RandomGeneratorTrait.php
@@ -61,8 +61,7 @@ public function randomString($length = 8) {
    *   TRUE if the random string is valid, FALSE if not.
    */
   public function randomStringValidate($string) {
-    // Consecutive spaces causes issues for
-    // \Drupal\simpletest\WebTestBase::assertLink().
+    // Consecutive spaces causes issues for link validation.
     if (preg_match('/\s{2,}/', $string)) {
       return FALSE;
     }
-- 
GitLab