-
Notifications
You must be signed in to change notification settings - Fork 731
Do not continue asserting on the concrete exception type when the exception is null
#2398
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
Do not continue asserting on the concrete exception type when the exception is null
#2398
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/qodana-action@v2023.2.8
with:
upload-result: trueContact Qodana teamContact us at qodana-support@jetbrains.com
|
Pull Request Test Coverage Report for Build 6598141855
💛 - Coveralls |
661eb6f to
a4f1cd9
Compare
a4f1cd9 to
1eaa482
Compare
null
dd6f405 to
72c53bd
Compare
|
Out of curiosity: Why is the assertion class for synchronous functions called What about aligning them with naming (and inheritance hierarchy respectively)? |
cc69224 to
1ee1f67
Compare
I think it boils down to compatibility and avoiding/minimizing breaking changes.
What would the benefits be contra what breaking changes it would bring? |
bd36b58 to
64c984d
Compare
I don't know :) Was just curious about it. |
Because delegate is a good name to represent both
It probably could be moved to the base-class, but it doesn't hurt. |
Tests/FluentAssertions.Specs/Specialized/DelegateAssertionSpecs.cs
Outdated
Show resolved
Hide resolved
Tests/FluentAssertions.Specs/Specialized/DelegateAssertionSpecs.cs
Outdated
Show resolved
Hide resolved
Tests/FluentAssertions.Specs/Specialized/DelegateAssertionSpecs.cs
Outdated
Show resolved
Hide resolved
22819bb to
3ac1594
Compare
3ac1594 to
f2b6713
Compare
Co-authored-by: Jonas Nyrup <jnyrup@users.noreply.github.com>
f2b6713 to
fd00aca
Compare
…eption is `null` (fluentassertions#2398) * Improved the failure message for `ThrowExactly[Async]` * Add release notes Co-authored-by: Jonas Nyrup <jnyrup@users.noreply.github.com> --------- Co-authored-by: IT-VBFK <it@voecklabrucker-freikriche.at> Co-authored-by: Jonas Nyrup <jnyrup@users.noreply.github.com>
Fixes #2395
IMPORTANT
./build.sh --target spellcheckor.\build.ps1 --target spellcheckbefore pushing and check the good outcome