Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy2003 committed May 30, 2024
1 parent 1e50734 commit 852f836
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ private static void testProgressLoggingListenerWithSpecifiedWaits(int unitsOfWor
}
listener.done();
verify(out).println("Starting test");
verify(out).printf("%.2f (10/10) - Completed test%n", 100f);
//noinspection RedundantStringFormatCall
verify(out).println(String.format("%.2f (10/10) - Completed test", 100f));
verify(out, times(expectedLogCount)).println(Mockito.anyString());
}
}

0 comments on commit 852f836

Please sign in to comment.