Skip to content

Commit 9169749

Browse files
committed
Improve test descriptions
1 parent 264bd1f commit 9169749

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/unit/DocBlock/StandardTagFactoryTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ public function validTagProvider() : array
376376
'tag:some-spec',
377377
'@tag:some-spec body',
378378
],
379-
'tag specialization(a)' => [
379+
'tag specialization followed by parenthesis' => [
380380
'@tag:some-spec(body)',
381381
'tag:some-spec',
382382
'@tag:some-spec (body)',
@@ -386,22 +386,22 @@ public function validTagProvider() : array
386386
'tag',
387387
'@tag some text',
388388
],
389-
'tag [a]' => [
389+
'tag body starting with sqare brackets is allowed' => [
390390
'@tag [is valid]',
391391
'tag',
392392
'@tag [is valid]',
393393
],
394-
'tag {a}' => [
394+
'tag body starting with curly brackets is allowed' => [
395395
'@tag {is valid}',
396396
'tag',
397397
'@tag {is valid}',
398398
],
399-
'tag{a}' => [
399+
'tag name followed by curly brackets directly is allowed' => [
400400
'@tag{is valid}',
401401
'tag',
402402
'@tag {is valid}',
403403
],
404-
'tag(a)' => [
404+
'parenthesis directly following a tag name is valid' => [
405405
'@tag(is valid)',
406406
'tag',
407407
'@tag (is valid)',

0 commit comments

Comments
 (0)