-
Notifications
You must be signed in to change notification settings - Fork 29.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"]633;SetMark;Id=s0;Hidden" shows up in Test Peek Error windows #166270
Comments
This happens to me too. |
@connor4312 thanks! The markers are gone, although I still see the last item duplicated (the last one has line numbers but the one before does not, oddly). Not sure if I'm causing this or not? |
Marking as verified as the fix for the original issue got verified. @DanTup Can you file a new issue for the duplicate entry? |
Turns out, the duplication is kinda my fault, but I don't think I can improve it so I'm interested in ideas. My test runner sends events for output, including error output, and then a failure status at the end:
The duplication comes because I write all output events as they arrive using
There doesn't seem a great solution to this from my side. I'd rather not try to buffer messages because they could lead to a delay in the user seeing output, or events appearing out of order if not done correctly. Is it feasible VS Code could support some way to disconnect marking a test as failed from its error output? For example an |
When I'm running tests recently, I'm seeing this weird markup show up in the "Peek Error" pane:
This markup is not in the original text I'm providing to the
TestRun.appendOutput
call, but it looks like it's something VS Code is using itself:vscode/src/vs/workbench/contrib/testing/common/testResult.ts
Line 131 in 90e165a
I'm not sure what's triggering it (it doesn't seem to show up in all output messages, only some) but perhaps @connor4312 (who seems to have worked on that code) will understand what's going on.
The text was updated successfully, but these errors were encountered: