Today, we’re shipping two new releases:
2.0.1
(release notes)1.20.1
It’s been 5 weeks since the release of 1.20.0
RTM.
As always, we’d like to thank all the users who contributed to the success of xUnit.net through usage, feedback, and code contributions. 🎉
These release notes are a comprehensive list of changes from 1.20.0
to 1.21.0
.
Assert.Contains
or Assert.DoesNotContain
call, even if the user passed null
to the comparer. While null
is a valid value for Linq Contains
, it is not legal for the assertions, so the fixer will now strip the null
during conversion. Note: this only affects users who pass literal null
to the Contains
call. Passing a variable will retain the variable, and the compiler or runtime will resolve null
issues. xunit/xunit#3244