diff --git a/core/modules/system/src/Tests/Asset/ResolvedLibraryDefinitionsFilesMatchTest.php b/core/modules/system/src/Tests/Asset/ResolvedLibraryDefinitionsFilesMatchTest.php index f894d1d..18b5f69 100644 --- a/core/modules/system/src/Tests/Asset/ResolvedLibraryDefinitionsFilesMatchTest.php +++ b/core/modules/system/src/Tests/Asset/ResolvedLibraryDefinitionsFilesMatchTest.php @@ -188,9 +188,6 @@ protected function getAllLibraries() { $libraries['core'] = $this->libraryDiscovery->getLibrariesByExtension('core'); $root = \Drupal::root(); - // By merging $modules and $themes into $extensions we're assuming that a - // module and theme don't share names. If they did, their libraries would - // conflict anyway. foreach ($extensions as $extension_name => $extension) { $library_file = $extension->getPath() . '/' . $extension_name . '.libraries.yml'; if (is_file($root . '/' . $library_file)) {