Skip to content

Commit bdde446

Browse files
LarsEckartisidore
andcommitted
B rename help message to use new class name
Co-Authored-By: Llewellyn Falco <[email protected]>
1 parent e575617 commit bdde446

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

approvaltests/src/main/java/org/approvaltests/namer/AttributeStackSelector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ private static void checkConditionsForAttribute(Class<? extends Annotation> attr
132132
if (NamerFactory.isEmpty())
133133
{
134134
throw new FormattedException("When using dynamic tests and Approvals, you need to use %s instead.",
135-
"org.approvaltests.integrations.junit5.JUnit5Approvals.dynamicTest(String, Executable)");
135+
"org.approvaltests.integrations.junit5.JupiterApprovals.dynamicTest(String, Executable)");
136136
}
137137
}
138138
}

approvaltests/src/test/java/org/approvaltests/namer/JUnit5StackTraceNamerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ Collection<DynamicTest> testFactory2()
114114
catch (RuntimeException e)
115115
{
116116
assertEquals(
117-
"When using dynamic tests and Approvals, you need to use org.approvaltests.integrations.junit5.JUnit5Approvals.dynamicTest(String, Executable) instead.",
117+
"When using dynamic tests and Approvals, you need to use org.approvaltests.integrations.junit5.JupiterApprovals.dynamicTest(String, Executable) instead.",
118118
e.getMessage());
119119
}
120120
}));

0 commit comments

Comments
 (0)