Skip to content

Commit cb8fc12

Browse files
committed
Update IgnorableFieldDeserializerTest.scala
1 parent d6a65ac commit cb8fc12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/scala/com/fasterxml/jackson/module/scala/deser/IgnorableFieldDeserializerTest.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ class IgnorableFieldDeserializerTest extends DeserializerTest {
1313

1414
lazy val module: JacksonModule = DefaultScalaModule
1515

16-
"An ObjectMapper with the DefaultScalaModule" should "fail if field is not expected" in {
16+
"An ObjectMapper with the DefaultScalaModule" should "fail if field is not expected (DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES enabled)" in {
1717
val mapper = newMapper
1818
intercept[UnrecognizedPropertyException] {
1919
mapper.readValue(genJson(100), classOf[ExtractFields])
2020
}
2121
}
2222

23-
it should "succeed if field is not expected" in {
23+
it should "succeed if field is not expected (DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES disabled)" in {
2424
val mapper = newBuilder
2525
.disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES)
2626
.build()

0 commit comments

Comments
 (0)