summary refs log tree commit diff
path: root/tests/ui/error-emitter
AgeCommit message (Collapse)AuthorLines
2024-03-02On tests that specify --color=always emit SVG file with stderr outputEsteban Kuber-144/+389
Leverage `anstyle-svg`, as `cargo` does now, to emit `.svg` files instead of `.stderr` files for tests that explicitly enable color output. This will make reviewing changes to the graphical output of tests much more human friendly.
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-11/+11
2023-12-09use different revisions for testing colors on windowsjyn-6/+81
this is kinda jank because it means people need both machines to bless the tests
2023-12-08use magenta instead of bold for highlightingjyn-0/+111
according to a poll of gay people in my phone, purple is the most popular color to use for highlighting | color | percentage | | ---------- | ---------- | | bold white | 6% | | blue | 14% | | cyan | 26% | | purple | 37% | | magenta | 17% | unfortunately, purple is not supported by 16-color terminals, which rustc apparently wants to support for some reason. until we require support for full 256-color terms (e.g. by doing the same feature detection as we currently do for urls), we can't use it. instead, i have collapsed the purple votes into magenta on the theory that they're close, and also because magenta is pretty.