diff --git a/core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php b/core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php
index 62d5bdb11c..7d1753252e 100644
--- a/core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php
+++ b/core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php
@@ -467,7 +467,7 @@ public function testInvalidProfile() {
    */
   public function testUnparsableCoreVersionRequirement() {
     $unparsable_core_version_requirement = <<<UNPARSABLE_CORE_VERSION_REQUIREMENT
-# info.yml for testing missing type key.
+# info.yml for testing invalid core_version_requirement value.
 name: Not this module
 description: 'Not the module you are looking for.'
 package: Core
