Replies: 1 comment 2 replies
-
|
This should be possible in the next C# language version. I believe you can trial it out already by installing the .NET 9 SDK and then setting You won't be able to pass your ref struct directly into the Assert.That() but you should be able to pass a property into it fine. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying out TUnit in a brand new projects and have written a
ref structthat I want to assert the properties of.Assertions are async and must be awaited, so I get this compiler error:
Is there a way to test these with TUnit or does the async nature of the assertions framework prevent this?
Beta Was this translation helpful? Give feedback.
All reactions