-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Use a counter instead of relying in XPathNodeIterator.Count #5665
Conversation
Is it possible to add a unit test? |
Sure, @danmosemsft, This was done right in GitHub. Adding a test will require a bit more work. Where should I add the test? This will be my first MSBuild Task unit test. Any model I can follow? |
Done! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, pending the changes @Forgind mentioned.
I'll do the changes, they are out of scope, but I'll do them. Do you want Shouldly to be used on the entire test class or only on the added test method? |
@paulomorgado Only the added test method. Much appreciated! |
Done! |
Thanks! |
Followup from dotnet#5665
Followup from dotnet#5665
Followup from dotnet#5665
Solves #2051