Skip to content

Commit

Permalink
<refactor>: refactor the lambda expression to avoid checkstyle er…
Browse files Browse the repository at this point in the history
…ror.
  • Loading branch information
wickdynex committed Nov 6, 2024
1 parent fa18da3 commit 5e74bdf
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ class ZipkinConfigurationsSenderConfigurationTests {

@Test
void shouldSupplyBeans() {
this.contextRunner.run((context) -> {
assertThat(context).hasSingleBean(BytesMessageSender.class);
});
this.contextRunner.run((context) -> assertThat(context).hasSingleBean(BytesMessageSender.class));
}

@Test
Expand Down

0 comments on commit 5e74bdf

Please # to comment.