assertk icon indicating copy to clipboard operation
assertk copied to clipboard

use 'given' to wrap multiple assertions

Open katiedotson opened this issue 3 years ago • 1 comments
trafficstars

Fix for #421 uses given to wrap multiple assertions. One potential issue here is if there are multiple failures in a block, only the first will be shown as a cause. I might suggest making a separate function to solve for this.

katiedotson avatar Jun 21 '22 20:06 katiedotson

I have created a different fix for https://github.com/willowtreeapps/assertk/issues/421 a couple of days ago: https://github.com/willowtreeapps/assertk/pull/422 It doesn't have the problem that it shows only first error in a block, but is a little more complex.

rybick avatar Jun 24 '22 08:06 rybick

Should be fixed by https://github.com/willowtreeapps/assertk/pull/437

evant avatar Mar 16 '23 03:03 evant