Skip to content

Commit b6cd733

Browse files
committed
tests: adjust with the new reality of parsing
1 parent 4f2e5f3 commit b6cd733

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

tests/Parser/DocBlockParserTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -347,10 +347,10 @@ public static function getParseTests(): array
347347
],
348348
],
349349
],
350-
'Test that @throws with a dot at the end works' => [
350+
'Test that @throws variants' => [
351351
'
352352
/**
353-
* @throws \InvalidArgumentException.
353+
* @throws \InvalidArgumentException
354354
* @throws \Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException.
355355
*/
356356
',
@@ -364,12 +364,12 @@ public static function getParseTests(): array
364364
'\InvalidArgumentException',
365365
'',
366366
],
367-
[
368-
'\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException',
369-
'',
370-
],
367+
'\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException.',
371368
],
372369
],
370+
'errors' => [
371+
'Invalid @throws tag "\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException.".',
372+
],
373373
],
374374
],
375375
],

0 commit comments

Comments
 (0)