Lots of tests in ZIO SQL were written in past, when some operators were not yet available.
In many places we could simplify, for example:
....
val expected = ???
val assertion = for {
r <- testResult.runCollect
} yield assert(r.head)(equalTo(expected))
assertion.mapErrorCause(cause => Cause.stackless(cause.untraced))
Lots of tests in ZIO SQL were written in past, when some operators were not yet available.
In many places we could simplify, for example:
to
This is to be done in two modules: