Skip to content

Commit 0645058

Browse files
OskarStarknicolas-grekas
authored andcommitted
[Tests] Streamline
1 parent dee0c6e commit 0645058

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Test/TranslatorTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,10 @@ public function testReturnMessageIfExactlyOneStandardRuleIsGiven()
183183
*/
184184
public function testThrowExceptionIfMatchingMessageCannotBeFound($id, $number)
185185
{
186-
$this->expectException(\InvalidArgumentException::class);
187186
$translator = $this->getTranslator();
188187

188+
$this->expectException(\InvalidArgumentException::class);
189+
189190
$translator->trans($id, ['%count%' => $number]);
190191
}
191192

0 commit comments

Comments
 (0)