Commit b168e9d
committed
Pass unwrapped throwable to fail() so AssertionError cause is RecipeRunException
RewriteTest.defaultExecutionContext was passing the outer RecipeError to
fail(), which made the resulting AssertionError's cause RecipeError
instead of the underlying RecipeRunException. This regressed
RepeatTest.repeatValidatesCursorIsPassed, which asserts that the cause
is a RecipeRunException.1 parent 8b3259c commit b168e9d
1 file changed
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
706 | 706 | | |
707 | 707 | | |
708 | 708 | | |
709 | | - | |
| 709 | + | |
710 | 710 | | |
711 | | - | |
| 711 | + | |
712 | 712 | | |
713 | 713 | | |
714 | 714 | | |
| |||
0 commit comments