Skip to content

Commit 392b0be

Browse files
committed
Issue #3144331 by mohrerao, longwave, daffie: Update comment in Drupal\Tests\RandomGeneratorTrait::randomStringValidate()
1 parent fcc11d8 commit 392b0be

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/Drupal/Tests/RandomGeneratorTrait.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@ public function randomString($length = 8) {
6161
* TRUE if the random string is valid, FALSE if not.
6262
*/
6363
public function randomStringValidate($string) {
64-
// Consecutive spaces causes issues for
65-
// \Drupal\simpletest\WebTestBase::assertLink().
64+
// Consecutive spaces causes issues for link validation.
6665
if (preg_match('/\s{2,}/', $string)) {
6766
return FALSE;
6867
}

0 commit comments

Comments
 (0)