Record ExpectedTask
creation location in console-subscriber tests
#461
Labels
S-feature
Severity: feature. This is adding a new feature.
What problem are you trying to solve?
When a test asserts on mulitple expected tasks, it may not be clear which one fails in the case of a failure.
How should the problem be solved?
Record the panic location when creating the
ExpectedTask
and put#[track_caller]
on the constructor.The text was updated successfully, but these errors were encountered: