-
Notifications
You must be signed in to change notification settings - Fork 732
Pass down the reason to inner AssertionScope
#2318
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
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/[email protected]
with:
upload-result: trueContact Qodana teamContact us at [email protected]
|
|
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: fluentassertions/Src/FluentAssertions/Equivalency/Steps/EnumerableEquivalencyValidator.cs Lines 64 to 75 in 4476929
( 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 <[email protected]>

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