diff --git a/core/modules/system/src/Tests/Theme/EngineTwigTest.php b/core/modules/system/src/Tests/Theme/EngineTwigTest.php
index 8e59ec2..d564a8f 100644
--- a/core/modules/system/src/Tests/Theme/EngineTwigTest.php
+++ b/core/modules/system/src/Tests/Theme/EngineTwigTest.php
@@ -84,7 +84,7 @@ public function testTwigLinkGenerator() {
   }
 
   /**
-   * Tests the file url Twig functions.
+   * Tests the file_url Twig functions.
    */
   public function testTwigFileUrls() {
     $this->drupalGet('/twig-theme-test/file-url');
diff --git a/core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php b/core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php
index c309a76..96fcb67 100644
--- a/core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php
+++ b/core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php
@@ -50,7 +50,7 @@ public function linkGeneratorRender() {
   }
 
   /**
-   * Renders for testing file_create_url functions in a Twig template.
+   * Renders for testing file_url functions in a Twig template.
    */
   public function fileUrlRender() {
     return array(
