summaryrefslogtreecommitdiff
path: root/vendor/symfony/translation/Tests/Loader/IcuDatFileLoaderTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/translation/Tests/Loader/IcuDatFileLoaderTest.php')
-rw-r--r--vendor/symfony/translation/Tests/Loader/IcuDatFileLoaderTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/vendor/symfony/translation/Tests/Loader/IcuDatFileLoaderTest.php b/vendor/symfony/translation/Tests/Loader/IcuDatFileLoaderTest.php
index e28db60135..601680af8a 100644
--- a/vendor/symfony/translation/Tests/Loader/IcuDatFileLoaderTest.php
+++ b/vendor/symfony/translation/Tests/Loader/IcuDatFileLoaderTest.php
@@ -37,9 +37,9 @@ class IcuDatFileLoaderTest extends LocalizedTestCase
$resource = __DIR__.'/../fixtures/resourcebundle/dat/resources';
$catalogue = $loader->load($resource, 'en', 'domain1');
- $this->assertEquals(array('symfony' => 'Symfony 2 is great'), $catalogue->all('domain1'));
+ $this->assertEquals(['symfony' => 'Symfony 2 is great'], $catalogue->all('domain1'));
$this->assertEquals('en', $catalogue->getLocale());
- $this->assertEquals(array(new FileResource($resource.'.dat')), $catalogue->getResources());
+ $this->assertEquals([new FileResource($resource.'.dat')], $catalogue->getResources());
}
public function testDatFrenchLoad()
@@ -48,9 +48,9 @@ class IcuDatFileLoaderTest extends LocalizedTestCase
$resource = __DIR__.'/../fixtures/resourcebundle/dat/resources';
$catalogue = $loader->load($resource, 'fr', 'domain1');
- $this->assertEquals(array('symfony' => 'Symfony 2 est génial'), $catalogue->all('domain1'));
+ $this->assertEquals(['symfony' => 'Symfony 2 est génial'], $catalogue->all('domain1'));
$this->assertEquals('fr', $catalogue->getLocale());
- $this->assertEquals(array(new FileResource($resource.'.dat')), $catalogue->getResources());
+ $this->assertEquals([new FileResource($resource.'.dat')], $catalogue->getResources());
}
/**