Skip to content

Commit ccbe572

Browse files
committed
fix: Make UI tests handle hyperlinks consistently
1 parent 6040018 commit ccbe572

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

crates/cargo-test-support/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1505,6 +1505,7 @@ impl CargoCommandExt for snapbox::cmd::Command {
15051505
Self::new(cargo_exe())
15061506
.with_assert(compare::assert_ui())
15071507
.env("CARGO_TERM_COLOR", "always")
1508+
.env("CARGO_TERM_HYPERLINKS", "true")
15081509
.test_env()
15091510
}
15101511
}

tests/testsuite/lints/warning/stderr.term.svg

Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)