Skip to content

Commit

Permalink
Fix expectation in test due to recent change in log message
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen committed Mar 2, 2025
1 parent 603b109 commit 3d0b991
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ void shouldGetDisplayNameFromSupplierIfNoDisplayNameAnnotationWithBlankStringPre

assertThat(displayName).isEqualTo("default-name");
assertThat(firstWarningLogRecord(listener).getMessage()).isEqualTo(
"Configuration error: @DisplayName on [class org.junit.jupiter.engine.descriptor.DisplayNameUtilsTests$BlankDisplayNameTestCase] must be declared with a non-empty value.");
"Configuration error: @DisplayName on [class org.junit.jupiter.engine.descriptor.DisplayNameUtilsTests$BlankDisplayNameTestCase] must be declared with a non-blank value.");
}

@Test
Expand Down

0 comments on commit 3d0b991

Please sign in to comment.