Test that rustdoc preserves color output in doctests #79170
Labels
A-doctests
Area: Documentation tests, run by rustdoc
A-testsuite
Area: The testsuite used to check the correctness of rustc
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
The most accurate but hardest way is probably snapshot testing, like taking the image snapshot of the colors. Maybe we can just set the environment variables, and detect the colors ascii codes in standard output?
Originally posted by @pickfire in #74293 (comment)
The text was updated successfully, but these errors were encountered: