[Translation] fix gettext tests
This commit is contained in:
parent
9c2a26db12
commit
19f9de9e8f
@ -27,7 +27,10 @@ class MoFileLoaderTest extends \PHPUnit_Framework_TestCase
|
||||
$this->assertEquals(array(new FileResource($resource)), $catalogue->getResources());
|
||||
}
|
||||
|
||||
public function testLoadDoesNothingIfEmpty()
|
||||
/**
|
||||
* @expectedException \InvalidArgumentException
|
||||
*/
|
||||
public function testLoadInvalidResource()
|
||||
{
|
||||
$loader = new MoFileLoader();
|
||||
$resource = __DIR__.'/../fixtures/empty.mo';
|
||||
|
@ -1,2 +1,3 @@
|
||||
msgid "foo"
|
||||
msgstr "bar"
|
||||
msgstr "bar"
|
||||
|
||||
|
Reference in New Issue
Block a user