Skip to content

Commit

Permalink
. r extract variable
Browse files Browse the repository at this point in the history
Co-Authored-By: Jay Bazuzi <jay@bazuzi.com>
  • Loading branch information
isidore and JayBazuzi committed Mar 3, 2025
1 parent ea51593 commit 805c273
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,8 @@ Collection<DynamicTest> testFactory2()
}
catch (RuntimeException e)
{
assertEquals(
"When using dynamic tests and Approvals, you need to use org.approvaltests.integrations.junit5.JupiterApprovals.dynamicTest(String, Executable) instead.",
e.getMessage());
String helpMessage = "When using dynamic tests and Approvals, you need to use org.approvaltests.integrations.junit5.JupiterApprovals.dynamicTest(String, Executable) instead.";
assertEquals(helpMessage, e.getMessage());
}
}));
}
Expand Down

0 comments on commit 805c273

Please sign in to comment.