Skip to content

Commit 526f11d

Browse files
committed
...
1 parent 1bec2f0 commit 526f11d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/test/java/com/fasterxml/jackson/failing/ObjectIdSubTypes4607Test.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,7 @@ static class NumberTypeDefinition implements TypeDefinition {
3131
@Test
3232
public void shouldHandleTypeDefinitionJson() throws Exception {
3333
final ObjectMapper mapper = newJsonMapper();
34-
String input = "{" +
35-
" \"@type\": \"number\" " +
36-
" }";
37-
TypeDefinition model = mapper.readValue(input, TypeDefinition.class);
34+
TypeDefinition model = mapper.readValue("{ \"@type\": \"number\" }", TypeDefinition.class);
3835
Assertions.assertInstanceOf(NumberTypeDefinition.class, model);
3936
}
4037
}

0 commit comments

Comments
 (0)