Hi!
What would be the best syntax to check for string containing another string ignoring case?
I see a couple of options:
myString.Should().Contain("abc", StringComparison.OrdinalIgnoreCase);
or
myString.Should().ContainIgnoreCase("abc");
First seems more generic but second is shorter, more intellisense-friendly and reads better.
We could have both, second just being just a shortcut for the first.
What do you think?