mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-02 07:19:01 +00:00
Fix checkstyle violation
This commit is contained in:
+2
-2
@@ -197,12 +197,12 @@ class PropertyMapperTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void whenWhenValueNotMatchesShouldSupportChainedCalls() {
|
||||
void whenWhenValueNotMatchesShouldSupportChainedCalls() {
|
||||
this.map.from("123").when("456"::equals).when("123"::equals).toCall(Assertions::fail);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void whenWhenValueMatchesShouldSupportChainedCalls() {
|
||||
void whenWhenValueMatchesShouldSupportChainedCalls() {
|
||||
String result = this.map.from("123").when((s) -> s.contains("2")).when("123"::equals).toInstance(String::new);
|
||||
assertThat(result).isEqualTo("123");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user