Short-circuit the Cont computation with value R.
suspend fun test() = checkAll(Arb.string()) { str -> cont<String, Int> { shift(str) }.fold({ it shouldBe str }, { fail("Computation never finishes") })}