You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test: Don't look for a specfic ANSI color (#16118)
In rust-lang/rust#147207, I am changing `rustc` to `anstyle` for
terminal styling. As part of this change, `rustc` will now be emitting
`4-bit` ANSI colors instead of `8-bit` (256-color). That change is
blocked on the `message_format::cargo_renders_ansi` test, which looks
for a specific color sequence that `rustc` is no longer emitting and
subsequently causes it to fail. To fix this, I made it so the test now
looks for the start of an ANSI sequence instead of a specific sequence,
as seeing the start of an ANSI escape sequence allows us to verify that
ANSI colors are being emitted without the problems of looking for a
specific sequence.
0 commit comments