Skip to content

Fix async lambdas passed to Assert.That(...) are evaluated too early#3138

Merged
thomhurst merged 7 commits into
thomhurst:mainfrom
m-gasser:bugs/3137
Oct 5, 2025
Merged

Fix async lambdas passed to Assert.That(...) are evaluated too early#3138
thomhurst merged 7 commits into
thomhurst:mainfrom
m-gasser:bugs/3137

Conversation

@m-gasser
Copy link
Copy Markdown
Contributor

Attempt at fixing #3137

Comment thread TestProject.props Outdated
@thomhurst
Copy link
Copy Markdown
Owner

This looks good to me - I'm happy for it to be lazily evaluated 😄

Comment thread TUnit.Assertions.Tests/Assertions/Delegates/Throws.ExactlyTests.cs Outdated
@m-gasser m-gasser marked this pull request as ready for review September 21, 2025 10:38
@m-gasser m-gasser deleted the bugs/3137 branch March 11, 2026 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants