transfer depuis gogs

This commit is contained in:
2025-05-08 11:58:35 +02:00
commit e71ace994c
1209 changed files with 172996 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
<?php
use Grav\Common\Language\LanguageCodes;
/**
* Class ParsedownTest
*/
class LanguageCodesTest extends \Codeception\TestCase\Test
{
public function testRtl()
{
$this->assertSame('ltr',
LanguageCodes::getOrientation('en'));
$this->assertSame('rtl',
LanguageCodes::getOrientation('ar'));
$this->assertSame('rtl',
LanguageCodes::getOrientation('he'));
$this->assertTrue(LanguageCodes::isRtl('ar'));
$this->assertFalse(LanguageCodes::isRtl('fr'));
}
}