Skip to content

Commit

Permalink
Spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael1993 committed Feb 25, 2024
1 parent 36a88c3 commit 48596b8
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,8 @@ class WhenTestClassHasTestMethodWithParameterAnnotatedWithBothNewAndSharedTests
@DisplayName("then an exception is thrown")
@Test
void thenExceptionIsThrown() throws Exception {
ExecutionResults results = executeTestClass(TestMethodWithParameterAnnotatedWithBothNewAndSharedTestCases.class);
ExecutionResults results = executeTestClass(
TestMethodWithParameterAnnotatedWithBothNewAndSharedTestCases.class);
Method failingTest = TestMethodWithParameterAnnotatedWithBothNewAndSharedTestCases.class
.getDeclaredMethod("test", String.class);

Expand Down Expand Up @@ -481,7 +482,8 @@ class WhenParameterIsAnnotatedWithSharedAndAnotherParamIsAnnotatedWithSharedWith
@DisplayName("then it throws an exception")
@Test
void thenItThrowsAnException() {
ExecutionResults results = executeTestClass(TwoTestMethodsWithParamsWithSharedSameNameButDifferentScopesTestCases.class);
ExecutionResults results = executeTestClass(
TwoTestMethodsWithParamsWithSharedSameNameButDifferentScopesTestCases.class);

assertThat(results)
.hasSingleFailedTest()
Expand Down

0 comments on commit 48596b8

Please sign in to comment.