Skip to content

Commit

Permalink
Rename tests
Browse files Browse the repository at this point in the history
  • Loading branch information
courtneyeh committed Apr 15, 2024
1 parent 6e402d6 commit b4b7859
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ void constructionOfDirectories_shouldDisableWhenFailedToCreate(@TempDir Path tem
}

@Test
void formatTimestamp_shouldFormatDate() {
void formatOptionalTimestamp_shouldFormatTimestamp() {
final DebugDataDumper manager = new DebugDataDumper(Path.of("."), true);
final String formattedTimestamp =
manager.formatOptionalTimestamp(Optional.of(timeProvider.getTimeInMillis()), timeProvider);
Expand All @@ -196,7 +196,7 @@ void formatTimestamp_shouldFormatDate() {
}

@Test
void generateTimestamp_shouldGenerateTimestamp() {
void formatOptionalTimestamp_shouldGenerateTimestamp() {
final DebugDataDumper manager = new DebugDataDumper(Path.of("."), true);
final String formattedTimestamp =
manager.formatOptionalTimestamp(Optional.empty(), timeProvider);
Expand Down

0 comments on commit b4b7859

Please sign in to comment.