-
Notifications
You must be signed in to change notification settings - Fork 731
Make Excluding() work on nested collections if root is a collection
#2135
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
Conversation
… Excluding() work on nested collections if root is a collection
|
|
||
| // If we're part of a collection comparison, the selected path will not include an index, | ||
| // so we need to remove it from the current node as well. | ||
| if (!ContainsIndexingQualifiers(selectedPath)) |
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.
This is the part where I am not sure about the implications, since all tests are green
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.
In trying to confirm this, I tried checking out 77b5f2c and run the tests.
I got the same results with and without the regex replacements in PropertyPathOrderingRule, ExcludePropertyByPathSelectionRule and IgnorePropertySelectionRule.
In develop branch in PathBasedOrderingRule I can remove the all the IndexQualifier stuff completely without any tests failing.
So something similar might be going on there?
Pull Request Test Coverage Report for Build 4493934804Warning: 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 |
It was necessary to normalize an expression containing an index qualifier like |
|
Hmm, I don´t understand it. RemoveIndexQualifiers("root[0].Foo[2].Bar") = "root.Foo[2].Bar" // root is collection
RemoveIndexQualifiers("root.Foo[2].Bar") => "root.Foo[2].Bar". // root is no collectionThe if condition I removed prevents the first case from happening if I add an exclusion like |
No, it was called when the path contained any So |
|
So is my PR fine then? |
I'm not sure anymore if my memory is serving me well. But the issue was that if we were using |
|
Also, if I remove that part, I have about 30 tests failing |
I assume you removed the line |
Yeah, I removed the entire |
Okay, so because |
Me neither. So if all the tests succeed, I guess this should be good enough. I can't think of a scenario where we would not want to remove the starting |
Src/FluentAssertions/Equivalency/Selection/SelectMemberByPathSelectionRule.cs
Outdated
Show resolved
Hide resolved
# Conflicts: # Src/FluentAssertions/Equivalency/Selection/SelectMemberByPathSelectionRule.cs
Src/FluentAssertions/Equivalency/Selection/SelectMemberByPathSelectionRule.cs
Show resolved
Hide resolved
Co-authored-by: Jonas Nyrup <jnyrup@users.noreply.github.com>
jnyrup
left a comment
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.
I find it really weird that we have code that apparently never had any purpose according to our tests.
I'm fine with doing this and then we must release a another patch version if we ended up breaking a case.
Excluding() work on nested collections if root is a collection
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [FluentAssertions](https://www.fluentassertions.com/) ([source](https://togithub.com/fluentassertions/fluentassertions)) | nuget | minor | `6.10.0` -> `6.11.0` | --- ### Release Notes <details> <summary>fluentassertions/fluentassertions</summary> ### [`v6.11.0`](https://togithub.com/fluentassertions/fluentassertions/releases/tag/6.11.0) [Compare Source](https://togithub.com/fluentassertions/fluentassertions/compare/6.10.0...6.11.0) <!-- Release notes generated using configuration in .github/release.yml at develop --> #### What's Changed ##### New features - Added `ThrowWithinAsync` assertions by [@​lg2de](https://togithub.com/lg2de) in [https://github.com/fluentassertions/fluentassertions/pull/1974](https://togithub.com/fluentassertions/fluentassertions/pull/1974) - Add `WithoutStrictOrderingFor` overload with an expression by [@​chrischu](https://togithub.com/chrischu) in [https://github.com/fluentassertions/fluentassertions/pull/2151](https://togithub.com/fluentassertions/fluentassertions/pull/2151) ##### Improvements - Add support to convert into to enum by [@​sdelarosbil](https://togithub.com/sdelarosbil) in [https://github.com/fluentassertions/fluentassertions/pull/2147](https://togithub.com/fluentassertions/fluentassertions/pull/2147) - Use `ToString` to format exceptions by [@​sdelarosbil](https://togithub.com/sdelarosbil) in [https://github.com/fluentassertions/fluentassertions/pull/2150](https://togithub.com/fluentassertions/fluentassertions/pull/2150) ##### Fixes - Increase robustness of assertions when wrapped in an `AssertionScope` by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2133](https://togithub.com/fluentassertions/fluentassertions/pull/2133) - Ensured the maximum depth is properly respecting the "official" definition of depth by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [https://github.com/fluentassertions/fluentassertions/pull/2145](https://togithub.com/fluentassertions/fluentassertions/pull/2145) - Prevent `NullReferenceException` by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2154](https://togithub.com/fluentassertions/fluentassertions/pull/2154) - Make `Excluding()` work on nested collections if root is a collection by [@​whymatter](https://togithub.com/whymatter) in [https://github.com/fluentassertions/fluentassertions/pull/2135](https://togithub.com/fluentassertions/fluentassertions/pull/2135) - Prevent `InvalidOperationException` when formatting lambda expression by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2176](https://togithub.com/fluentassertions/fluentassertions/pull/2176) ##### Documentation - Add missing xml docs for parameters by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2134](https://togithub.com/fluentassertions/fluentassertions/pull/2134) - Fix xml docs for time-related assertions by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2153](https://togithub.com/fluentassertions/fluentassertions/pull/2153) - fix link to PR in release notes by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2171](https://togithub.com/fluentassertions/fluentassertions/pull/2171) - Do not interpret double braces as liquid template by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2181](https://togithub.com/fluentassertions/fluentassertions/pull/2181) ##### Others - Add optional parameter to generate a `binlog` file by [@​IT-VBFK](https://togithub.com/IT-VBFK) in [https://github.com/fluentassertions/fluentassertions/pull/2127](https://togithub.com/fluentassertions/fluentassertions/pull/2127) - Dynamic copyright year by [@​martincostello](https://togithub.com/martincostello) in [https://github.com/fluentassertions/fluentassertions/pull/2128](https://togithub.com/fluentassertions/fluentassertions/pull/2128) - Minor tweaks to the .editorconfig and reformatted the entire code base by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [https://github.com/fluentassertions/fluentassertions/pull/2117](https://togithub.com/fluentassertions/fluentassertions/pull/2117) - Update Nugets by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2129](https://togithub.com/fluentassertions/fluentassertions/pull/2129) - Styling to please both VS and Rider by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2130](https://togithub.com/fluentassertions/fluentassertions/pull/2130) - Use a fixed seed for random generator by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2131](https://togithub.com/fluentassertions/fluentassertions/pull/2131) - Pluralize "key" in failure message by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2138](https://togithub.com/fluentassertions/fluentassertions/pull/2138) - Preparing upgrade of analyzers by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2136](https://togithub.com/fluentassertions/fluentassertions/pull/2136) - Exception cleanup by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2155](https://togithub.com/fluentassertions/fluentassertions/pull/2155) - Cleanup by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2156](https://togithub.com/fluentassertions/fluentassertions/pull/2156) - await `Task` when inside using block by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2157](https://togithub.com/fluentassertions/fluentassertions/pull/2157) - Use init properties by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2158](https://togithub.com/fluentassertions/fluentassertions/pull/2158) - Introduce Roslynator with adjusted rules and addressed issues by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [https://github.com/fluentassertions/fluentassertions/pull/2159](https://togithub.com/fluentassertions/fluentassertions/pull/2159) - Regex cleanup by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2162](https://togithub.com/fluentassertions/fluentassertions/pull/2162) - Introduce the Meziantou.Analyzer to improve our code even more. by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [https://github.com/fluentassertions/fluentassertions/pull/2160](https://togithub.com/fluentassertions/fluentassertions/pull/2160) - Some internal naming improvements by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [https://github.com/fluentassertions/fluentassertions/pull/2164](https://togithub.com/fluentassertions/fluentassertions/pull/2164) - Extracts the type reflection logic into a dedicated class by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [https://github.com/fluentassertions/fluentassertions/pull/2165](https://togithub.com/fluentassertions/fluentassertions/pull/2165) - Update to C# 11 by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2166](https://togithub.com/fluentassertions/fluentassertions/pull/2166) - Improve the `DataRowCollectionEquivalency` code coverage by [@​sdelarosbil](https://togithub.com/sdelarosbil) in [https://github.com/fluentassertions/fluentassertions/pull/2163](https://togithub.com/fluentassertions/fluentassertions/pull/2163) - Improve the ExpressionExtensions coverage by [@​sdelarosbil](https://togithub.com/sdelarosbil) in [https://github.com/fluentassertions/fluentassertions/pull/2168](https://togithub.com/fluentassertions/fluentassertions/pull/2168) - Improve the DateOnly and TimeOnly code coverage by [@​sdelarosbil](https://togithub.com/sdelarosbil) in [https://github.com/fluentassertions/fluentassertions/pull/2167](https://togithub.com/fluentassertions/fluentassertions/pull/2167) - Update to Coveralls v2 by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2173](https://togithub.com/fluentassertions/fluentassertions/pull/2173) - Migrate from FxCop to .NET Analyzers by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2174](https://togithub.com/fluentassertions/fluentassertions/pull/2174) - Use builtin coveralls flag to ignore missing coverage file by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2178](https://togithub.com/fluentassertions/fluentassertions/pull/2178) - Revert "Use builtin coveralls flag to ignore missing coverage file" by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2183](https://togithub.com/fluentassertions/fluentassertions/pull/2183) - Ensure running the site works again by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [https://github.com/fluentassertions/fluentassertions/pull/2185](https://togithub.com/fluentassertions/fluentassertions/pull/2185) - Prepare for .NET 8 analyzers by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2184](https://togithub.com/fluentassertions/fluentassertions/pull/2184) - Update Ruby dependencies by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2182](https://togithub.com/fluentassertions/fluentassertions/pull/2182) #### New Contributors - [@​martincostello](https://togithub.com/martincostello) made their first contribution in [https://github.com/fluentassertions/fluentassertions/pull/2128](https://togithub.com/fluentassertions/fluentassertions/pull/2128) - [@​sdelarosbil](https://togithub.com/sdelarosbil) made their first contribution in [https://github.com/fluentassertions/fluentassertions/pull/2147](https://togithub.com/fluentassertions/fluentassertions/pull/2147) - [@​chrischu](https://togithub.com/chrischu) made their first contribution in [https://github.com/fluentassertions/fluentassertions/pull/2151](https://togithub.com/fluentassertions/fluentassertions/pull/2151) **Full Changelog**: fluentassertions/fluentassertions@6.10.0...6.11.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/cythral/brighid-discord-adapter). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS41NC4wIiwidXBkYXRlZEluVmVyIjoiMzUuNTQuMCJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [FluentAssertions](https://www.fluentassertions.com/) ([source](https://togithub.com/fluentassertions/fluentassertions)) | nuget | minor | `6.10.0` -> `6.11.0` | --- ### Release Notes <details> <summary>fluentassertions/fluentassertions</summary> ### [`v6.11.0`](https://togithub.com/fluentassertions/fluentassertions/releases/tag/6.11.0) [Compare Source](https://togithub.com/fluentassertions/fluentassertions/compare/6.10.0...6.11.0) <!-- Release notes generated using configuration in .github/release.yml at develop --> #### What's Changed ##### New features - Added `ThrowWithinAsync` assertions by [@​lg2de](https://togithub.com/lg2de) in [https://github.com/fluentassertions/fluentassertions/pull/1974](https://togithub.com/fluentassertions/fluentassertions/pull/1974) - Add `WithoutStrictOrderingFor` overload with an expression by [@​chrischu](https://togithub.com/chrischu) in [https://github.com/fluentassertions/fluentassertions/pull/2151](https://togithub.com/fluentassertions/fluentassertions/pull/2151) ##### Improvements - Add support to convert into to enum by [@​sdelarosbil](https://togithub.com/sdelarosbil) in [https://github.com/fluentassertions/fluentassertions/pull/2147](https://togithub.com/fluentassertions/fluentassertions/pull/2147) - Use `ToString` to format exceptions by [@​sdelarosbil](https://togithub.com/sdelarosbil) in [https://github.com/fluentassertions/fluentassertions/pull/2150](https://togithub.com/fluentassertions/fluentassertions/pull/2150) ##### Fixes - Increase robustness of assertions when wrapped in an `AssertionScope` by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2133](https://togithub.com/fluentassertions/fluentassertions/pull/2133) - Ensured the maximum depth is properly respecting the "official" definition of depth by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [https://github.com/fluentassertions/fluentassertions/pull/2145](https://togithub.com/fluentassertions/fluentassertions/pull/2145) - Prevent `NullReferenceException` by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2154](https://togithub.com/fluentassertions/fluentassertions/pull/2154) - Make `Excluding()` work on nested collections if root is a collection by [@​whymatter](https://togithub.com/whymatter) in [https://github.com/fluentassertions/fluentassertions/pull/2135](https://togithub.com/fluentassertions/fluentassertions/pull/2135) - Prevent `InvalidOperationException` when formatting lambda expression by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2176](https://togithub.com/fluentassertions/fluentassertions/pull/2176) ##### Documentation - Add missing xml docs for parameters by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2134](https://togithub.com/fluentassertions/fluentassertions/pull/2134) - Fix xml docs for time-related assertions by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2153](https://togithub.com/fluentassertions/fluentassertions/pull/2153) - fix link to PR in release notes by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2171](https://togithub.com/fluentassertions/fluentassertions/pull/2171) - Do not interpret double braces as liquid template by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2181](https://togithub.com/fluentassertions/fluentassertions/pull/2181) ##### Others - Add optional parameter to generate a `binlog` file by [@​IT-VBFK](https://togithub.com/IT-VBFK) in [https://github.com/fluentassertions/fluentassertions/pull/2127](https://togithub.com/fluentassertions/fluentassertions/pull/2127) - Dynamic copyright year by [@​martincostello](https://togithub.com/martincostello) in [https://github.com/fluentassertions/fluentassertions/pull/2128](https://togithub.com/fluentassertions/fluentassertions/pull/2128) - Minor tweaks to the .editorconfig and reformatted the entire code base by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [https://github.com/fluentassertions/fluentassertions/pull/2117](https://togithub.com/fluentassertions/fluentassertions/pull/2117) - Update Nugets by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2129](https://togithub.com/fluentassertions/fluentassertions/pull/2129) - Styling to please both VS and Rider by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2130](https://togithub.com/fluentassertions/fluentassertions/pull/2130) - Use a fixed seed for random generator by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2131](https://togithub.com/fluentassertions/fluentassertions/pull/2131) - Pluralize "key" in failure message by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2138](https://togithub.com/fluentassertions/fluentassertions/pull/2138) - Preparing upgrade of analyzers by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2136](https://togithub.com/fluentassertions/fluentassertions/pull/2136) - Exception cleanup by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2155](https://togithub.com/fluentassertions/fluentassertions/pull/2155) - Cleanup by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2156](https://togithub.com/fluentassertions/fluentassertions/pull/2156) - await `Task` when inside using block by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2157](https://togithub.com/fluentassertions/fluentassertions/pull/2157) - Use init properties by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2158](https://togithub.com/fluentassertions/fluentassertions/pull/2158) - Introduce Roslynator with adjusted rules and addressed issues by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [https://github.com/fluentassertions/fluentassertions/pull/2159](https://togithub.com/fluentassertions/fluentassertions/pull/2159) - Regex cleanup by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2162](https://togithub.com/fluentassertions/fluentassertions/pull/2162) - Introduce the Meziantou.Analyzer to improve our code even more. by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [https://github.com/fluentassertions/fluentassertions/pull/2160](https://togithub.com/fluentassertions/fluentassertions/pull/2160) - Some internal naming improvements by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [https://github.com/fluentassertions/fluentassertions/pull/2164](https://togithub.com/fluentassertions/fluentassertions/pull/2164) - Extracts the type reflection logic into a dedicated class by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [https://github.com/fluentassertions/fluentassertions/pull/2165](https://togithub.com/fluentassertions/fluentassertions/pull/2165) - Update to C# 11 by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2166](https://togithub.com/fluentassertions/fluentassertions/pull/2166) - Improve the `DataRowCollectionEquivalency` code coverage by [@​sdelarosbil](https://togithub.com/sdelarosbil) in [https://github.com/fluentassertions/fluentassertions/pull/2163](https://togithub.com/fluentassertions/fluentassertions/pull/2163) - Improve the ExpressionExtensions coverage by [@​sdelarosbil](https://togithub.com/sdelarosbil) in [https://github.com/fluentassertions/fluentassertions/pull/2168](https://togithub.com/fluentassertions/fluentassertions/pull/2168) - Improve the DateOnly and TimeOnly code coverage by [@​sdelarosbil](https://togithub.com/sdelarosbil) in [https://github.com/fluentassertions/fluentassertions/pull/2167](https://togithub.com/fluentassertions/fluentassertions/pull/2167) - Update to Coveralls v2 by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2173](https://togithub.com/fluentassertions/fluentassertions/pull/2173) - Migrate from FxCop to .NET Analyzers by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2174](https://togithub.com/fluentassertions/fluentassertions/pull/2174) - Use builtin coveralls flag to ignore missing coverage file by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2178](https://togithub.com/fluentassertions/fluentassertions/pull/2178) - Revert "Use builtin coveralls flag to ignore missing coverage file" by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2183](https://togithub.com/fluentassertions/fluentassertions/pull/2183) - Ensure running the site works again by [@​dennisdoomen](https://togithub.com/dennisdoomen) in [https://github.com/fluentassertions/fluentassertions/pull/2185](https://togithub.com/fluentassertions/fluentassertions/pull/2185) - Prepare for .NET 8 analyzers by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2184](https://togithub.com/fluentassertions/fluentassertions/pull/2184) - Update Ruby dependencies by [@​jnyrup](https://togithub.com/jnyrup) in [https://github.com/fluentassertions/fluentassertions/pull/2182](https://togithub.com/fluentassertions/fluentassertions/pull/2182) #### New Contributors - [@​martincostello](https://togithub.com/martincostello) made their first contribution in [https://github.com/fluentassertions/fluentassertions/pull/2128](https://togithub.com/fluentassertions/fluentassertions/pull/2128) - [@​sdelarosbil](https://togithub.com/sdelarosbil) made their first contribution in [https://github.com/fluentassertions/fluentassertions/pull/2147](https://togithub.com/fluentassertions/fluentassertions/pull/2147) - [@​chrischu](https://togithub.com/chrischu) made their first contribution in [https://github.com/fluentassertions/fluentassertions/pull/2151](https://togithub.com/fluentassertions/fluentassertions/pull/2151) **Full Changelog**: fluentassertions/fluentassertions@6.10.0...6.11.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/cythral/brighid-commands). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS41NC4wIiwidXBkYXRlZEluVmVyIjoiMzUuNTQuMCJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Fixes #1989 #1919
I removed the
!ContainsIndexingQualifiers(selectedPath)check on this piece of code which was introduced here: aab3303#diff-53539b5c2a4cdb7276ff5e63cbe410a164938d3620ebf08f20797810d22b394c. I am 100% unsure what it does and what the implications are of me removing it. However, there are no failing tests with the condition removed.If removing this condition is bad for whatever reason, please tell me which test case I can add to cover this.
IMPORTANT
./build.sh --target spellcheckor.\build.ps1 --target spellcheckbefore pushing and check the good outcome