Feature request: lower/upper case assertions
See original GitHub issueDescription
Please introduce lowercase and uppercase assertions for strings or chars, for example:
// Arrange
var input = "A";
// Act
var actual = input.ToUpper();
// Assert
actual.Should().BeUpper();
actual.Should().NotBeLower();
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
HTTP method names: upper or lower case?
Method names are case-sensitive, and all registered methods are all upper-case. (and the W3C really doesn't matter here; what's relevant are ...
Read more >Assertions
If you check "disable case sensitivity", mabl checks that the value matches what you expect without regard to what letters are in uppercase...
Read more >grep lower case upper case sequence manipulation
Hi grep experts,. I'm trying to convert sequences of lower case character upper case character pattern to lower case <space> upper case.
Read more >how to transform case (uppercase/lowercase) of a value in ...
Hi,. my problem is really simple for a basic feature. In variable context "foo" contains "bAr", I will transform case of value like...
Read more >Formatting Keywords to UPPERCASE In Oracle SQL ...
SQL Developer's formatter can be configured to uppercase SQL keywords in the worksheet and editors. Access the Other page in the SQL ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Culture invariance is still relevant to behave identically on a Turkey Test no matter the current culture on the testing machine.
Or having an overload that supports
BeUpper(CultureInfo)
, which can then be used withCultureInfo.InvariantCulture
.