We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I believe a couple Warn.If overloads have incorrect summary comments.
Warn.If
https://github.com/nunit/nunit/blob/master/src/NUnitFramework/framework/Warn.cs#L335
The summary comments on those overloads read:
Asserts that a condition is true. If the condition is false, a warning is issued.
However, the method bodies read:
Warn.If(condition, Is.True, ...);
They log a warning if the condition is true.
The summary comment seems to be correct on other overloads:
Asserts that a condition is false. If the condition is true a warning is issued.
The text was updated successfully, but these errors were encountered:
Good catch. That code has been there forever. It is surprising no one has noticed before you!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
I believe a couple
Warn.If
overloads have incorrect summary comments.https://github.com/nunit/nunit/blob/master/src/NUnitFramework/framework/Warn.cs#L335
https://github.com/nunit/nunit/blob/master/src/NUnitFramework/framework/Warn.cs#L335
The summary comments on those overloads read:
However, the method bodies read:
They log a warning if the condition is true.
The summary comment seems to be correct on other overloads:
The text was updated successfully, but these errors were encountered: