We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c2db2b commit 78628f6Copy full SHA for 78628f6
src/test/scala/com/fasterxml/jackson/module/scala/deser/EitherDeserializerTest.scala
@@ -20,7 +20,7 @@ class EitherDeserializerTest extends DeserializerTest with EitherJsonTestSupport
20
}
21
22
it should "be able to deserialize left with string" in {
23
- val typeRef = new TypeReference[Either[_, String]] {}
+ val typeRef = new TypeReference[Either[String, _]] {}
24
deserialize(s"""{"l":"$str"}""", typeRef) should be (Left(str))
25
deserialize(s"""{"left":"$str"}""", typeRef) should be (Left(str))
26
0 commit comments