Skip to content

Commit 37694c1

Browse files
committed
1480: adapt test to actual output
1 parent 00990dc commit 37694c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/test/java/com/diffplug/spotless/TimedLoggerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ void itLogsSecondsOnlyWhenTakingSeconds() {
8686
timedLogger.withInfo("This should be logged").run(() -> testTicker.tickMillis(2_000));
8787

8888
testLogger.assertEvents(2);
89-
testLogger.assertHasEventWithMessageAndArguments(MESSAGE_SUFFIX_TOOK, "2s");
89+
testLogger.assertHasEventWithMessageAndArguments(MESSAGE_SUFFIX_TOOK, "2.0s");
9090
}
9191

9292
@Test

0 commit comments

Comments
 (0)