Skip to content

Commit

Permalink
Update CaseClassSerializerTest.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning committed Jun 22, 2024
1 parent 559e38c commit cf7976d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ class CaseClassSerializerTest extends SerializerTest {
val mapper = newBuilder
.disable(MapperFeature.SORT_PROPERTIES_ALPHABETICALLY)
.build()
serialize(foo) should equal ("""{"string":"str","boolean":false}""")
mapper.writeValueAsString(foo) should equal ("""{"string":"str","boolean":false}""")
}

it should "serialize java getters returning java collections" in {
Expand Down

0 comments on commit cf7976d

Please sign in to comment.