Skip to content

Commit 425d254

Browse files
Add original string "15"
1 parent f8dfb01 commit 425d254

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

tests/MoGeneratorTest.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ public function testMoGenerator()
3636
$translation->translate('Comentario deshabilitado');
3737
$translations->add($translation);
3838

39+
$translation = Translation::create(null, '15');
40+
$translation->translate('15');
41+
$translations->add($translation);
42+
3943
$translation = Translation::create(null, '123456');
4044
$translation->translate('12345');
4145
$translations->add($translation);
@@ -47,7 +51,7 @@ public function testMoGenerator()
4751

4852
$result = $loader->loadString($mo);
4953

50-
$this->assertCount(3, $result);
54+
$this->assertCount(4, $result);
5155
$this->assertCount(5, $result->getHeaders());
5256
}
5357
}

0 commit comments

Comments
 (0)