Security update for Core, with self-updated composer
[yaffs-website] / web / core / tests / Drupal / Tests / Component / Gettext / PoHeaderTest.php
index 113f6cdea8262ebec6a685ce5b71ea07df4edfc6..caae2d827938665634de88ef90cbdd141edf326d 100644 (file)
@@ -3,7 +3,7 @@
 namespace Drupal\Tests\Component\Gettext;
 
 use Drupal\Component\Gettext\PoHeader;
-use Drupal\Tests\UnitTestCase;
+use PHPUnit\Framework\TestCase;
 
 /**
  * Unit tests for the Gettext PO file header handling features.
@@ -12,7 +12,7 @@ use Drupal\Tests\UnitTestCase;
  *
  * @group Gettext
  */
-class PoHeaderTest extends UnitTestCase {
+class PoHeaderTest extends TestCase {
 
   /**
    * Tests that plural expressions are evaluated correctly.
@@ -279,7 +279,8 @@ class PoHeaderTest extends UnitTestCase {
           193 => 1,
           194 => 1,
           'default' => 2,
-        ], ],
+        ],
+      ],
       [
         'nplurals=4; plural=(((n==1)||(n==11))?(0):(((n==2)||(n==12))?(1):(((n>2)&&(n<20))?(2):3)));',
         [