commit
a08e40d8d8
|
@ -38,7 +38,7 @@ class ContextPairsTests {
|
||||||
ContextPairs contextPairs = new ContextPairs(false, null);
|
ContextPairs contextPairs = new ContextPairs(false, null);
|
||||||
Map<String, String> map = Map.of("spring", "boot");
|
Map<String, String> map = Map.of("spring", "boot");
|
||||||
Map<String, Object> actual = apply(contextPairs.flat(".", (pairs) -> pairs.addMapEntries((item) -> map)));
|
Map<String, Object> actual = apply(contextPairs.flat(".", (pairs) -> pairs.addMapEntries((item) -> map)));
|
||||||
assertThat(actual.isEmpty());
|
assertThat(actual).isEmpty();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@ -96,7 +96,7 @@ class ContextPairsTests {
|
||||||
ContextPairs contextPairs = new ContextPairs(false, null);
|
ContextPairs contextPairs = new ContextPairs(false, null);
|
||||||
Map<String, String> map = Map.of("spring", "boot");
|
Map<String, String> map = Map.of("spring", "boot");
|
||||||
Map<String, Object> actual = apply(contextPairs.nested((pairs) -> pairs.addMapEntries((item) -> map)));
|
Map<String, Object> actual = apply(contextPairs.nested((pairs) -> pairs.addMapEntries((item) -> map)));
|
||||||
assertThat(actual.isEmpty());
|
assertThat(actual).isEmpty();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
Loading…
Reference in New Issue