mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-25 11:14:46 +00:00
fix: Make UI tests handle hyperlinks consistently
This commit is contained in:
parent
60400187f4
commit
ccbe572a74
@ -1505,6 +1505,7 @@ impl CargoCommandExt for snapbox::cmd::Command {
|
||||
Self::new(cargo_exe())
|
||||
.with_assert(compare::assert_ui())
|
||||
.env("CARGO_TERM_COLOR", "always")
|
||||
.env("CARGO_TERM_HYPERLINKS", "true")
|
||||
.test_env()
|
||||
}
|
||||
}
|
||||
|
@ -37,7 +37,7 @@
|
||||
</tspan>
|
||||
<tspan x="10px" y="154px"><tspan class="fg-green bold"> Checking</tspan><tspan> foo v0.0.1 ([ROOT]/foo)</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="172px"><tspan class="fg-green bold"> Finished</tspan><tspan> `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s</tspan>
|
||||
<tspan x="10px" y="172px"><tspan class="fg-green bold"> Finished</tspan><tspan> </tspan><tspan><a href="https://doc.rust-lang.org/cargo/reference/profiles.html#default-profiles">`dev` profile [unoptimized + debuginfo]</a></tspan><tspan> target(s) in [ELAPSED]s</tspan>
|
||||
</tspan>
|
||||
<tspan x="10px" y="190px">
|
||||
</tspan>
|
||||
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.1 KiB |
Loading…
x
Reference in New Issue
Block a user