equalsIgnoringCase method
Expects that the String
contains the same characters as expected
if
both were lower case.
Implementation
void equalsIgnoringCase(String expected) {
context.expect(
() => prefixFirst('equals ignoring case ', literal(expected)),
(actual) => _findDifference(
actual.toLowerCase(), expected.toLowerCase(), actual, expected));
}