Pass down the reason to inner AssertionScope#2318
Conversation
Pull Request Test Coverage Report for Build 6303140294
💛 - Coveralls |
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.6
with:
upload-result: trueContact Qodana teamContact us at qodana-support@jetbrains.com
|
|
Qodana thinks we aren't in pr_mode? 🤔 |
We fiddled with the Qodana pipeline today. Apparently we didn't nail it 😞 |
7090025 to
0e271cf
Compare
0e271cf to
cc50769
Compare
|
Can I close #2319 then? |
Yes. |
|
What's fishy: if I comment [Fact]
public void Passing_the_reason_to_the_inner_equivalency_assertion_works_2()
{
var subject = new Dictionary<string, object>
{
["a"] = new List<int>()
};
var expected = new Dictionary<string, object>
{
["a"] = new List<int> { 42 },
["b"] = new List<int> { 42 }
};
subject.Should().BeEquivalentTo(expected, "FOO");
}The failure message is: @jnyrup @dennisdoomen Why? I don't get it, because the assertion which is throwing is the subsequent assertion here: ( AssertCollectionHasEnoughItems)
Edit: Oh.. I see: I miss-tested this 🤦♂️ |
Src/FluentAssertions/Equivalency/Steps/EnumerableEquivalencyValidator.cs
Outdated
Show resolved
Hide resolved
ca4ddd5 to
7f5ff3e
Compare
7f5ff3e to
5b8c3d0
Compare
AssertionScopes
AssertionScopesAssertionScopes
AssertionScopesAssertionScope
|
Something's up with our Qodana pipeline. @dennisdoomen pull_request_target instead of pull_request?
|
No, there's no such thing. Instead, I think we should use
See also actions/checkout#518 (comment) |
Co-authored-by: Jonas Nyrup <jnyrup@users.noreply.github.com>

This fixes #2293
IMPORTANT
./build.sh --target spellcheckor.\build.ps1 --target spellcheckbefore pushing and check the good outcome