[Tests] handle carriage returns in stack traces on Windows
[Tests] handle carriage returns in stack traces on Windows

See https://github.com/substack/tape/pull/571#issuecomment-968173432

ljharb/tape,substack/tape,substack/tape,ljharb/tape,substack/tape,ljharb/tape