Skip to content

Commit

Permalink
[Tests] Streamline
Browse files Browse the repository at this point in the history
  • Loading branch information
OskarStark authored and nicolas-grekas committed Dec 26, 2023
1 parent dee0c6e commit 0645058
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Test/TranslatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,10 @@ public function testReturnMessageIfExactlyOneStandardRuleIsGiven()
*/
public function testThrowExceptionIfMatchingMessageCannotBeFound($id, $number)
{
$this->expectException(\InvalidArgumentException::class);
$translator = $this->getTranslator();

$this->expectException(\InvalidArgumentException::class);

$translator->trans($id, ['%count%' => $number]);
}

Expand Down

0 comments on commit 0645058

Please sign in to comment.