Skip to content

test(lints): update snapshot#15639

Closed
weihanglo wants to merge 1 commit intorust-lang:masterfrom
weihanglo:lints
Closed

test(lints): update snapshot#15639
weihanglo wants to merge 1 commit intorust-lang:masterfrom
weihanglo:lints

Conversation

@weihanglo
Copy link
Member

Haven't figured out why CI was green, but it failed on my machine.

@rustbot
Copy link
Collaborator

rustbot commented Jun 6, 2025

r? @ehuss

rustbot has assigned @ehuss.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 6, 2025
@weihanglo
Copy link
Member Author

Perhaps the terminal detection is drifted between Cargo and anstyle. Given it is not an issue on our CI, let me turn this into an issue.

@weihanglo weihanglo closed this Jun 6, 2025
@weihanglo weihanglo deleted the lints branch June 6, 2025 03:37
github-merge-queue bot pushed a commit that referenced this pull request Jun 6, 2025
In #15639, @weihanglo noted that one of the lint tests passed in CI, but
locally it would fail as it had a hyperlink added to its output. The
root cause appears to be the recent update to `anstyle-svg@0.1.8`, which
added support for hyperlinks, combined with our hyperlink support
autodetection, disabling them in CI, but allowing them locally. To
ensure we are consistently handling hyperlinks, I made them always
enabled for UI tests. This seemed like the best option given that we
already force colors for UI tests, and it allows us to test our
hyperlink output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments