-
Notifications
You must be signed in to change notification settings - Fork 732
Correct null handling when using a custom comparer #2489
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
Correct null handling when using a custom comparer #2489
Conversation
Qodana for .NETIt seems all right 👌 No new problems were found according to the checks applied 💡 Qodana analysis was run in the pull request mode: only the changed files were checked View the detailed Qodana reportTo be able to view the detailed Qodana report, you can either:
To get - name: 'Qodana Scan'
uses: JetBrains/[email protected]
with:
upload-result: trueContact Qodana teamContact us at [email protected]
|
Src/FluentAssertions/Equivalency/Steps/EqualityComparerEquivalencyStep.cs
Outdated
Show resolved
Hide resolved
…he expectation. Also added more tests for all cases.
|
Can anyone help me? I don't understand the error message in Qodana. |
|
Try rebase at the current From my understanding, a qodana report without a summary (like here) happens, if the default branch (here |
Qodana for .NET4 new problems were found
💡 Qodana analysis was run in the pull request mode: only the changed files were checked Contact Qodana teamContact us at [email protected]
|
Src/FluentAssertions/Equivalency/Steps/EqualityComparerEquivalencyStep.cs
Outdated
Show resolved
Hide resolved
Pull Request Test Coverage Report for Build 7357619396Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
Co-authored-by: Jonas Nyrup <[email protected]>
Src/FluentAssertions/Equivalency/Steps/EqualityComparerEquivalencyStep.cs
Outdated
Show resolved
Hide resolved
Co-authored-by: ITaluone <[email protected]>
Qodana for .NET58 new problems were found
💡 Qodana analysis was run in the pull request mode: only the changed files were checked Contact Qodana teamContact us at [email protected]
|
|
A few qodana issues are left :) |
Currently a custom comparer surpresses the
BeEquivalentcompare with a nullable struct property against a expectednullvalue.This change doesn't use the custom comparer for a struct with a expected
null.#2480
IMPORTANT
./build.sh --target spellcheckor.\build.ps1 --target spellcheckbefore pushing and check the good outcome