Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit19f9de9

Browse files
committed
[Translation] fix gettext tests
1 parent9c2a26d commit19f9de9

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

‎tests/Symfony/Tests/Component/Translation/Loader/MoFileLoaderTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ public function testLoad()
2727
$this->assertEquals(array(newFileResource($resource)),$catalogue->getResources());
2828
}
2929

30-
publicfunctiontestLoadDoesNothingIfEmpty()
30+
/**
31+
* @expectedException \InvalidArgumentException
32+
*/
33+
publicfunctiontestLoadInvalidResource()
3134
{
3235
$loader =newMoFileLoader();
3336
$resource =__DIR__.'/../fixtures/empty.mo';
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
msgid"foo"
2-
msgstr"bar"
2+
msgstr"bar"
3+

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp