mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 03:43:21 +08:00
Remove redundant assertions
Closes gh-4428
This commit is contained in:
parent
a530221213
commit
12a9a6e195
@ -98,7 +98,6 @@ public class HttpMessageConvertersTests {
|
||||
HttpMessageConverter<?> converter2 = mock(HttpMessageConverter.class);
|
||||
HttpMessageConverters converters = new HttpMessageConverters(converter1,
|
||||
converter2);
|
||||
assertTrue(converters.getConverters().contains(converter1));
|
||||
assertEquals(converter1, converters.getConverters().get(0));
|
||||
assertEquals(converter2, converters.getConverters().get(1));
|
||||
}
|
||||
@ -111,7 +110,6 @@ public class HttpMessageConvertersTests {
|
||||
converter2).getConverters();
|
||||
List<HttpMessageConverter<?>> partConverters = extractFormPartConverters(
|
||||
converters);
|
||||
assertTrue(partConverters.contains(converter1));
|
||||
assertEquals(converter1, partConverters.get(0));
|
||||
assertEquals(converter2, partConverters.get(1));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user