-
Notifications
You must be signed in to change notification settings - Fork 790
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
Analyzer to convert Assert.Collection to Assert.Single #2123
Comments
Can you please include an example for |
@bradwilson I see most of these usages in unit tests in xUnit.net source. I can pick this one up to update the source. Please let me know if there're any other places which needs an update. |
Hello @bradwilson , created #2230 for review. |
@bradwilson did pr #2230 fix the issue? Wondering if this ticket should be closed |
It did. Thanks for pointing it out. |
Oops, I jumped the gun. That PR fixed the usage in xUnit.net, but did not create the analyzer. |
@bradwilson what other changes are needed to close this ticket? |
This issue is to create a new analyzer and fixer. |
@adison88, do you still want to do this? I can help with the analyzer and fixer if you don't mind. |
@etherfield go ahead. |
Available in |
While updating the xUnit.net source, I noticed that I did this a lot:
This could/should be converted to this:
The text was updated successfully, but these errors were encountered: