Functionsยง
- Gathers all files in the current working directory that have the extension
ext, and counts the number of lines within that contain a match with the regex patternre. - Read the contents of a file that cannot simply be read by
read_to_string, due to invalid UTF-8 data, then assert that it containsexpected. - Read the contents of a file that cannot simply be read by
read_to_string, due to invalid UTF-8 data, then assert that it does not containexpected.