Skip to content

Commit

Permalink
Fix formatting.
Browse files Browse the repository at this point in the history
Issue: #2677
  • Loading branch information
VladimirDmitrienko committed Oct 4, 2024
1 parent cb01e24 commit 35acb01
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,11 @@ private Set<ExclusiveResource> getClassResources(Class<?> testClass) {

private Set<ExclusiveResource> getMethodResources(Class<?> testClass) {
try {
var descriptor = new TestMethodTestDescriptor( //
uniqueId, testClass, testClass.getDeclaredMethod("test"), configuration //
// @formatter:off
var descriptor = new TestMethodTestDescriptor(
uniqueId, testClass, testClass.getDeclaredMethod("test"), configuration
);
// @formatter:on
descriptor.setParent(new ClassTestDescriptor(uniqueId, testClass, configuration));
return descriptor.getExclusiveResources();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,12 @@ class NestedClass {
@Test
void nestedTest() {
assertTrue(Provider.isProvideForNestedClassCalled, "'provideForNestedClass' was not called");
assertTrue( //
Provider.isProvideForNestedTestMethodCalled, //
"'provideForMethod(nestedTest)' was not called" //
// @formatter:off
assertTrue(
Provider.isProvideForNestedTestMethodCalled,
"'provideForMethod(nestedTest)' was not called"
);
// @formatter:on
}
}

Expand Down

0 comments on commit 35acb01

Please sign in to comment.