Test error peek only replaces out first \r?\n of reported failure text https://t.co/ArBLeJtWp7 #github #TypeScript #JavaScript #CSS #HTML #Inno Setup #Shell #Batchfile #PowerShell #SCSS #Groovy #Cuda #C++ #Python #Makefile #Perl #Ruby #TeX #Objective-C++ #Objective-C #Clo…
— First Issues Bot (@first_issues) Mar 17, 2022
— First Issues Bot (@first_issues) Mar 17, 2022
GitHub
Test error peek only replaces out first \r?\n of reported failure text · Issue #145320 · microsoft/vscode
The fix for #138336 at 6cc3fe1 only replaces the first instance of \r?\n in the string, not all of them. I suspect the regex needs /g on the end. @connor4312 FYI :)