<@U2J9REHAM> it does look like there's a bug with ...
# http4k
d
@dwellman it does look like there's a bug with the matcher - let me investigate. but for the moment, you can use the string version instead:
Copy code
@Test
    fun `returns all fruit`() {
        val fruitApp = FruitApp()(Request(Method.GET, "<http://localhost:80/fruits>"))
        println(fruitApp)
        fruitApp shouldMatch
            hasStatus(OK).and(Jackson.hasBody(Jackson.obj("lemons" to Jackson.number(42)).asCompactJsonString()))
    }