Skip to content

Commit f928923

Browse files
Update expected result for ContextPairsTests
Signed-off-by: Tran Ngoc Nhan <[email protected]>
1 parent d4bc07a commit f928923

File tree

1 file changed

+2
-2
lines changed
  • spring-boot-project/spring-boot/src/test/java/org/springframework/boot/logging/structured

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot/src/test/java/org/springframework/boot/logging/structured/ContextPairsTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ void flatWhenIncludeFalseDoesNothing() {
3838
ContextPairs contextPairs = new ContextPairs(false, null);
3939
Map<String, String> map = Map.of("spring", "boot");
4040
Map<String, Object> actual = apply(contextPairs.flat(".", (pairs) -> pairs.addMapEntries((item) -> map)));
41-
assertThat(actual.isEmpty());
41+
assertThat(actual).isEmpty();
4242
}
4343

4444
@Test
@@ -96,7 +96,7 @@ void nestedWhenIncludeFalseDoesNothing() {
9696
ContextPairs contextPairs = new ContextPairs(false, null);
9797
Map<String, String> map = Map.of("spring", "boot");
9898
Map<String, Object> actual = apply(contextPairs.nested((pairs) -> pairs.addMapEntries((item) -> map)));
99-
assertThat(actual.isEmpty());
99+
assertThat(actual).isEmpty();
100100
}
101101

102102
@Test

0 commit comments

Comments
 (0)