diff --git a/core/tests/Drupal/Tests/Component/Gettext/PoHeaderTest.php b/core/tests/Drupal/Tests/Component/Gettext/PoHeaderTest.php index e0a59ae..7efaf70 100644 --- a/core/tests/Drupal/Tests/Component/Gettext/PoHeaderTest.php +++ b/core/tests/Drupal/Tests/Component/Gettext/PoHeaderTest.php @@ -14,6 +14,7 @@ * Unit tests for the Gettext PO file header handling features. * * @see Drupal\Component\Gettext\PoHeader. + * * @group Gettext */ class PoHeaderTest extends UnitTestCase { @@ -27,12 +28,14 @@ public static function getInfo() { } /** - * Tests that for the given plural expression, the plural formula is parsed - * correctly. + * Tests that the given plural expression is evaluated with the right plural formula. + * * @param string $plural * The plural expression. + * * @param array $expected * Array of expected plural positions keyed by plural value. + * * @dataProvider getPluralFormulasIterator */ public function testPluralsFormula($plural, $expected) { @@ -48,6 +51,7 @@ public function testPluralsFormula($plural, $expected) { /** * Gets pairs of plural expressions and expected plural positions keyed by * plural value. + * * @return array * Pairs of plural expressions and expected plural positions keyed by plural * value.