Skip to content

Conversation

@IT-VBFK
Copy link
Contributor

@IT-VBFK IT-VBFK commented Aug 20, 2023

This refs: #1677

IMPORTANT

  • If the PR touches the public API, the changes have been approved in a separate issue with the "api-approved" label.
  • The code complies with the Coding Guidelines for C#.
  • The changes are covered by unit tests which follow the Arrange-Act-Assert syntax and the naming conventions such as is used in these tests.
  • If the PR adds a feature or fixes a bug, please update the release notes with a functional description that explains what the change means to consumers of this library, which are published on the website.
  • If the PR changes the public API the changes needs to be included by running AcceptApiChanges.ps1 or AcceptApiChanges.sh.
  • If the PR affects the documentation, please include your changes in this pull request so the documentation will appear on the website.
    • Please also run ./build.sh --target spellcheck or .\build.ps1 --target spellcheck before pushing and check the good outcome

@IT-VBFK IT-VBFK changed the title V7: Remove obsolete or equal to methods V7: Remove obsolete ÒrEqualTo` methods Aug 20, 2023
@IT-VBFK IT-VBFK changed the title V7: Remove obsolete ÒrEqualTo` methods V7: Remove obsolete OrEqualTo methods Aug 20, 2023
@coveralls
Copy link

coveralls commented Aug 20, 2023

Pull Request Test Coverage Report for Build 5992739567

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.06%) to 97.252%

Totals Coverage Status
Change from base Build 5992436175: 0.06%
Covered Lines: 11639
Relevant Lines: 11845

💛 - Coveralls

@github-actions
Copy link

github-actions bot commented Aug 20, 2023

Qodana for .NET

It 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 report

Contact Qodana team

Contact us at qodana-support@jetbrains.com

@IT-VBFK IT-VBFK marked this pull request as ready for review August 20, 2023 18:33
@IT-VBFK IT-VBFK force-pushed the v7_remove-obsolete_OrEqualTo_methods branch 2 times, most recently from 4cb2070 to b6f1650 Compare August 23, 2023 14:47
@IT-VBFK IT-VBFK changed the title V7: Remove obsolete OrEqualTo methods Remove obsolete OrEqualTo methods Aug 23, 2023
@dennisdoomen dennisdoomen requested a review from jnyrup August 23, 2023 17:58
Copy link
Member

@jnyrup jnyrup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 👍

Here's a few more places that needs to be changed as well.

docs/_data/mstest-migration/assert.yml:249:    actual.Should().BeLessOrEqualTo(expected);
docs/_data/mstest-migration/assert.yml:261:    actual.Should().BeGreaterOrEqualTo(expected);
docs/_data/mstest-migration/assert.yml:297:    actual.Should().BeGreaterOrEqualTo(expected);
docs/_data/mstest-migration/assert.yml:309:    actual.Should().BeLessOrEqualTo(expected);
docs/_data/tips/collections.yml:123:    actual.Count().Should().BeGreaterOrEqualTo(k);
docs/_data/tips/collections.yml:126:    actual.Should().HaveCountGreaterOrEqualTo(k);
docs/_data/tips/collections.yml:147:    actual.Count().Should().BeLessOrEqualTo(k);
docs/_data/tips/collections.yml:150:    actual.Should().HaveCountLessOrEqualTo(k);
Src/FluentAssertions/Numeric/NumericAssertions.cs:230:    public AndConstraint<TAssertions> BeLessOrEqualTo
Src/FluentAssertions/Numeric/NumericAssertions.cs:292:    public AndConstraint<TAssertions> BeGreaterOrEqualTo

@dennisdoomen
Copy link
Member

Here's a few more places that needs to be changed as well.

You can always count on @jnyrup to be thorough 😜💪

@IT-VBFK IT-VBFK force-pushed the v7_remove-obsolete_OrEqualTo_methods branch from e59c3bc to 34281cc Compare August 27, 2023 18:43
@IT-VBFK IT-VBFK requested a review from jnyrup August 27, 2023 18:44
@IT-VBFK IT-VBFK force-pushed the v7_remove-obsolete_OrEqualTo_methods branch from 34281cc to d62eaa2 Compare August 27, 2023 19:03
@IT-VBFK IT-VBFK force-pushed the v7_remove-obsolete_OrEqualTo_methods branch from d62eaa2 to 0925d9f Compare August 27, 2023 19:12
@IT-VBFK
Copy link
Contributor Author

IT-VBFK commented Aug 27, 2023

Can anybody get this Qodana issues? 😂

This files don't exist anymore...

Ah.. nevermind.. They are gone now :)

@dennisdoomen dennisdoomen merged commit 8192206 into fluentassertions:develop Sep 3, 2023
@IT-VBFK IT-VBFK deleted the v7_remove-obsolete_OrEqualTo_methods branch September 3, 2023 19:12
cmeeren pushed a commit to cmeeren/fluentassertions that referenced this pull request Sep 18, 2023
* Remove obsolete `OrEqualTo`: `GenericCollectionAssertions`

* Remove obsolete `OrEqualTo`: `ComparableTypeAssertions`

* Remove obsolete `OrEqualTo`: `SimpleTimeSpanAssertions`

* Remove obsolete `OrEqualTo`: `ExecutionTimeAssertions`

* Remove obsolete `OrEqualTo`: `NumericAssertions`

* Accept API changes

* Update releases.md

Co-authored-by: Jonas Nyrup <jnyrup@users.noreply.github.com>

* Fix migration docs

---------

Co-authored-by: Jonas Nyrup <jnyrup@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants