I have a collection of strings
var greetings = new[] { "Hello boy", "Hello girl", "Hello all"};
I would like to create an assertion using FluentAssertions that verifies that the collection contains at least one item that contains a given string.
Example. For the previous collection,
I've tried with:
greetings.Should().ContainMatch("*" + str + "*");
But it doesn't work becuase it's case sensitive.