diff --git a/core/modules/system/tests/src/Kernel/System/SystemFunctionsLegacyTest.php b/core/modules/system/tests/src/Kernel/System/SystemFunctionsLegacyTest.php
index e3fd9947bc0843d0b9d6ce0e405bdba4add0f309..b6ee31cd4a2029f7890c2d2690aca5cbf49db634 100644
--- a/core/modules/system/tests/src/Kernel/System/SystemFunctionsLegacyTest.php
+++ b/core/modules/system/tests/src/Kernel/System/SystemFunctionsLegacyTest.php
@@ -35,7 +35,7 @@ public function testSystemTimeZones() {
   public function testSystemGetModuleAdminTasksArgument() {
     $module_name = 'System';
     $expected = system_get_module_admin_tasks('system', $module_name);
-    $this->expectDeprecation('Calling system_get_module_admin_tasks() with $module_name argument as array is deprecated in drupal:10.2.0 and is required to be staring from drupal:11.0.0. Pass only $info["name"] instead. See https://www.drupal.org/node/3357711');
+    $this->expectDeprecation('Calling system_get_module_admin_tasks() with $module_name argument as array is deprecated in drupal:10.2.0 and is required to be string from drupal:11.0.0. Pass only $info["name"] instead. See https://www.drupal.org/node/3357711');
     $this->assertSame($expected, system_get_module_admin_tasks('system', ['name' => $module_name]));
   }