Windows has a problem with filenames containing " as they are created by tests with a dataprovider. There is already a function in the Snapshot class that cleans these filenames, however the assertMatchesFileSnapshot method does not use it. This PR extracts the filename cleaning from the Snapshot class and also uses it in assertMatchesFileSnapshot.
Windows has a problem with filenames containing
"
as they are created by tests with a dataprovider. There is already a function in theSnapshot
class that cleans these filenames, however theassertMatchesFileSnapshot
method does not use it. This PR extracts the filename cleaning from theSnapshot
class and also uses it inassertMatchesFileSnapshot
.