mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Polish
This commit is contained in:
+2
-6
@@ -51,12 +51,8 @@ public class MappingMediaTypeFileExtensionResolverTests {
|
||||
assertTrue(extensions.isEmpty());
|
||||
}
|
||||
|
||||
/**
|
||||
* Unit test for SPR-13747 - ensures that reverse lookup of media type from media
|
||||
* type key is case-insensitive.
|
||||
*
|
||||
* @author Melissa Hartsock
|
||||
*/
|
||||
// SPR-13747
|
||||
|
||||
@Test
|
||||
public void lookupMediaTypeCaseInsensitive() {
|
||||
Map<String, MediaType> mapping = Collections.singletonMap("json", MediaType.APPLICATION_JSON);
|
||||
|
||||
Reference in New Issue
Block a user