diff -u b/core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php b/core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php --- b/core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php +++ b/core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php @@ -172,7 +172,7 @@ } /** - * Tests that an exception is thrown when no CSS/JS/setting is specified. + * Tests that no exception is thrown when only dependencies are specified. * * @covers ::buildByExtension */ @@ -191,7 +191,7 @@ } /** - * Tests that an exception is thrown when no CSS/JS/setting is specified. + * Tests that an exception is thrown with only the version property specified. * * @covers ::buildByExtension */