-
Notifications
You must be signed in to change notification settings - Fork 731
Improve BeUpperCased/BeLowerCased semantics #2660
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
Improve BeUpperCased/BeLowerCased semantics #2660
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 Contact Qodana teamContact us at qodana-support@jetbrains.com
|
Pull Request Test Coverage Report for Build 9439983654Details
💛 - Coveralls |
dennisdoomen
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.
Thanks for the great work. The basic changes are fine. Now we need to get the docs and naming right.
Also, consider using an IDE that has a spell checker built-in. It'll save you a lot of review comments.
Tests/FluentAssertions.Specs/Primitives/StringAssertionSpecs.BeUpperCased.cs
Outdated
Show resolved
Hide resolved
Tests/FluentAssertions.Specs/Primitives/StringAssertionSpecs.BeLowerCased.cs
Outdated
Show resolved
Hide resolved
Co-authored-by: Jonas Nyrup <jnyrup@users.noreply.github.com>
| // Assert | ||
| act.Should().Throw<XunitException>().WithMessage( | ||
| "Expected all characters in actual to be lower cased because we want to test the failure message, but found \"ABC\"."); | ||
| "Expected all alpha characters in actual to be lower cased because we want to test the failure message, but found \"ABC\"."); |
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.
"alpha" -> "alphabetic" in four tests to make the failing tests pass
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.
Doh! Thought I'd done that. Thanks.
Where can I see that in the build results?
…/drewjcooper/fluentassertions into beuppercased-belowercased
|
Breaking change? |
Yes, you're right. I've added the correct label. |
The PR changes the semantic of
BeUpperCased()andBeLowerCased()in line with the discussion in #2019.IMPORTANT
./build.sh --target spellcheckor.\build.ps1 --target spellcheckbefore pushing and check the good outcome