Skip to content

Commit

Permalink
Clarify exception message for tests that fail due to a prior exception
Browse files Browse the repository at this point in the history
Fixes #124
  • Loading branch information
sharwell committed Jun 23, 2022
1 parent 93fb391 commit 9afff4c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ protected override Task<decimal> InvokeTestMethodAsync(ExceptionAggregator aggre
() =>
{
var tcs = new TaskCompletionSource<decimal>();
tcs.SetException(_exception);
tcs.SetException(new InvalidOperationException("Test execution was skipped due to a prior exception in the harness.", _exception));
return tcs.Task;
});
}
Expand Down

0 comments on commit 9afff4c

Please sign in to comment.