From 9169749b9e57c74fe4b58188801cf87dbbe1fd69 Mon Sep 17 00:00:00 2001 From: Jaapio Date: Sun, 9 Feb 2020 09:11:55 +0100 Subject: [PATCH] Improve test descriptions --- tests/unit/DocBlock/StandardTagFactoryTest.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/unit/DocBlock/StandardTagFactoryTest.php b/tests/unit/DocBlock/StandardTagFactoryTest.php index 8ca3e57..3337204 100644 --- a/tests/unit/DocBlock/StandardTagFactoryTest.php +++ b/tests/unit/DocBlock/StandardTagFactoryTest.php @@ -376,7 +376,7 @@ class StandardTagFactoryTest extends TestCase 'tag:some-spec', '@tag:some-spec body', ], - 'tag specialization(a)' => [ + 'tag specialization followed by parenthesis' => [ '@tag:some-spec(body)', 'tag:some-spec', '@tag:some-spec (body)', @@ -386,22 +386,22 @@ class StandardTagFactoryTest extends TestCase 'tag', '@tag some text', ], - 'tag [a]' => [ + 'tag body starting with sqare brackets is allowed' => [ '@tag [is valid]', 'tag', '@tag [is valid]', ], - 'tag {a}' => [ + 'tag body starting with curly brackets is allowed' => [ '@tag {is valid}', 'tag', '@tag {is valid}', ], - 'tag{a}' => [ + 'tag name followed by curly brackets directly is allowed' => [ '@tag{is valid}', 'tag', '@tag {is valid}', ], - 'tag(a)' => [ + 'parenthesis directly following a tag name is valid' => [ '@tag(is valid)', 'tag', '@tag (is valid)',