Skip to content

Commit

Permalink
B rename help message to use new class name
Browse files Browse the repository at this point in the history
Co-Authored-By: Llewellyn Falco <[email protected]>
  • Loading branch information
LarsEckart and isidore committed Aug 8, 2022
1 parent e575617 commit bdde446
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ private static void checkConditionsForAttribute(Class<? extends Annotation> attr
if (NamerFactory.isEmpty())
{
throw new FormattedException("When using dynamic tests and Approvals, you need to use %s instead.",
"org.approvaltests.integrations.junit5.JUnit5Approvals.dynamicTest(String, Executable)");
"org.approvaltests.integrations.junit5.JupiterApprovals.dynamicTest(String, Executable)");
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Collection<DynamicTest> testFactory2()
catch (RuntimeException e)
{
assertEquals(
"When using dynamic tests and Approvals, you need to use org.approvaltests.integrations.junit5.JUnit5Approvals.dynamicTest(String, Executable) instead.",
"When using dynamic tests and Approvals, you need to use org.approvaltests.integrations.junit5.JupiterApprovals.dynamicTest(String, Executable) instead.",
e.getMessage());
}
}));
Expand Down

0 comments on commit bdde446

Please sign in to comment.