Skip to content

Commit dd4135b

Browse files
committed
Fix formatting
1 parent f1c98a7 commit dd4135b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

log4j-core-test/src/test/java/org/apache/logging/log4j/core/appender/rolling/RollingRandomAppenderDirectWriteAndSwitchDirectoryTest.java

+6-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ class RollingRandomAppenderDirectWriteAndSwitchDirectoryTest {
3535
private Path loggingPath;
3636

3737
@Test
38-
@LoggerContextSource(value = "appender/rolling/RollingRandomAppenderDirectWriteAndSwitchDirectoryTest.xml", timeout = 10)
38+
@LoggerContextSource(
39+
value = "appender/rolling/RollingRandomAppenderDirectWriteAndSwitchDirectoryTest.xml",
40+
timeout = 10)
3941
void testAppender(final LoggerContext context) throws Exception {
4042
final Logger logger = context.getLogger(RollingRandomAppenderDirectWriteAndSwitchDirectoryTest.class.getName());
4143
final LocalTime start = LocalTime.now();
@@ -46,6 +48,8 @@ void testAppender(final LoggerContext context) throws Exception {
4648
Thread.sleep(100);
4749
} while (start.getSecond() == end.getSecond());
4850
Path nextLogPath = loggingPath.resolve(String.format("%d/%d.log", end.getSecond(), end.getSecond()));
49-
assertThat(nextLogPath).as("Archived log for second %s", end.getSecond()).exists();
51+
assertThat(nextLogPath)
52+
.as("Archived log for second %s", end.getSecond())
53+
.exists();
5054
}
5155
}

0 commit comments

Comments
 (0)