Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c2a26d commit 19f9de9Copy full SHA for 19f9de9
2 files changed
tests/Symfony/Tests/Component/Translation/Loader/MoFileLoaderTest.php
@@ -27,7 +27,10 @@ public function testLoad()
27
$this->assertEquals(array(new FileResource($resource)), $catalogue->getResources());
28
}
29
30
- public function testLoadDoesNothingIfEmpty()
+ /**
31
+ * @expectedException \InvalidArgumentException
32
+ */
33
+ public function testLoadInvalidResource()
34
{
35
$loader = new MoFileLoader();
36
$resource = __DIR__.'/../fixtures/empty.mo';
tests/Symfony/Tests/Component/Translation/fixtures/resources.po
@@ -1,2 +1,3 @@
1
msgid "foo"
2
-msgstr "bar"
+msgstr "bar"
3
+
0 commit comments