-
Notifications
You must be signed in to change notification settings - Fork 255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calling When on partial substitute fails for async methods #467
Comments
Thanks for the excellent report and reproduction example. 👍 I can confirm this also happens with VS for Mac test runner using stable and pre-release NSub. Environment:
I got this trace in the output:
|
@siewers Thanks for the report. In short, you should not await in the I fired a PR to add |
@tpodolak Good catch. I think it sort of makes sense. Analyzer should prevent |
Describe the bug
ReSharper test runner fails executing the test, when calling
When
on a partial substitute.Error output:
To Reproduce
Expected behaviour
I would expect the test to pass but it fails.
Environment:
The text was updated successfully, but these errors were encountered: