From 2690ba028667090a19049e98b3a611458b0e00c9 Mon Sep 17 00:00:00 2001
From: Pooja Sharma <62756-pooja_sharma@users.noreply.drupalcode.org>
Date: Mon, 12 Aug 2024 06:34:30 +0000
Subject: [PATCH] issue/3019582: Applied suggestion JUnitConverterTest.

---
 core/tests/Drupal/Tests/Core/Test/JUnitConverterTest.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/tests/Drupal/Tests/Core/Test/JUnitConverterTest.php b/core/tests/Drupal/Tests/Core/Test/JUnitConverterTest.php
index bc5e837ced5f..448351ba8214 100644
--- a/core/tests/Drupal/Tests/Core/Test/JUnitConverterTest.php
+++ b/core/tests/Drupal/Tests/Core/Test/JUnitConverterTest.php
@@ -95,7 +95,7 @@ public function testXmlElementToRows(): void {
    */
   public function testConvertTestCaseToSimpletestRow(string $junitXmlString, array $expectedSimpletestRow): void {
     $this->assertEquals($expectedSimpletestRow, JUnitConverter::convertTestCaseToSimpletestRow($expectedSimpletestRow['test_id'], new \SimpleXMLElement($junitXmlString)));
-    $this->assertLessThanOrEqual(255, strlen($expectedSimpletestRow['function']), 'Function value is less than or equal to 255');
+    $this->assertLessThanOrEqual(255, strlen($expectedSimpletestRow['function']));
   }
 
   /**
-- 
GitLab