Fix test expectations for terminal output formatting after stdout/stderr removal#7601
Merged
Youssef1313 merged 2 commits intodev/ygerges/polluted-outputfrom Mar 24, 2026
Merged
Conversation
…put formatting tests Co-authored-by: Youssef1313 <[email protected]> Agent-Logs-Url: https://github.com/microsoft/testfx/sessions/aa01dcd8-7b2c-4030-9b90-26deffce7f5f
Copilot
AI
changed the title
[WIP] Fix console output for stdout/stderr properties
Fix test expectations for terminal output formatting after stdout/stderr removal
Mar 24, 2026
bfd1562
into
dev/ygerges/polluted-output
2 of 11 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
After removing
StandardOutputProperty/StandardErrorPropertyrendering from the terminal reporter, the test expectations forSimpleAnsiTerminal_OutputFormattingIsCorrectandAnsiTerminal_OutputFormattingIsCorrectwere left with an empty blank line where the actual output emits an ANSI reset (\e[m) sequence on that line.␛[mon the blank line following the stack trace in both test expected strings to match actual terminal output💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.