Skip to content

Commit 0b8f558

Browse files
committed
bump ui_test
1 parent 4bd8088 commit 0b8f558

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

src/tools/miri/Cargo.lock

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1016,10 +1016,11 @@ checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03"
10161016

10171017
[[package]]
10181018
name = "spanned"
1019-
version = "0.3.0"
1019+
version = "0.4.1"
10201020
source = "registry+https://github.com/rust-lang/crates.io-index"
1021-
checksum = "86af297923fbcfd107c20a189a6e9c872160df71a7190ae4a7a6c5dce4b2feb6"
1021+
checksum = "c92d4b0c055fde758f086eb4a6e73410247df8a3837fd606d2caeeaf72aa566d"
10221022
dependencies = [
1023+
"anyhow",
10231024
"bstr",
10241025
"color-eyre",
10251026
]
@@ -1156,9 +1157,9 @@ checksum = "1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e4bcd40364df902cfa8f3f"
11561157

11571158
[[package]]
11581159
name = "ui_test"
1159-
version = "0.29.2"
1160+
version = "0.30.2"
11601161
source = "registry+https://github.com/rust-lang/crates.io-index"
1161-
checksum = "1211b1111c752c73b33073d2958072be08825fd97c9ab4d83444da361a06634b"
1162+
checksum = "b56a6897cc4bb6f8daf1939b0b39cd9645856997f46f4d0b3e3cb7122dfe9251"
11621163
dependencies = [
11631164
"annotate-snippets",
11641165
"anyhow",

src/tools/miri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ ipc-channel = { version = "0.20.0", optional = true }
4949
capstone = { version = "0.13", optional = true }
5050

5151
[dev-dependencies]
52-
ui_test = "0.29.1"
52+
ui_test = "0.30.2"
5353
colored = "3"
5454
rustc_version = "0.4"
5555
regex = "1.5.5"

src/tools/miri/tests/ui.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ use ui_test::custom_flags::edition::Edition;
1313
use ui_test::dependencies::DependencyBuilder;
1414
use ui_test::per_test_config::TestConfig;
1515
use ui_test::spanned::Spanned;
16-
use ui_test::{CommandBuilder, Config, Format, Match, ignore_output_conflict, status_emitter};
16+
use ui_test::status_emitter::StatusEmitter;
17+
use ui_test::{CommandBuilder, Config, Match, ignore_output_conflict};
1718

1819
#[derive(Copy, Clone, Debug)]
1920
enum Mode {
@@ -216,10 +217,7 @@ fn run_tests(
216217
// This could be used to overwrite the `Config` on a per-test basis.
217218
|_, _| {},
218219
// No GHA output as that would also show in the main rustc repo.
219-
match args.format {
220-
Format::Terse => status_emitter::Text::quiet(),
221-
Format::Pretty => status_emitter::Text::verbose(),
222-
},
220+
Box::<dyn StatusEmitter>::from(args.format),
223221
)
224222
}
225223

0 commit comments

Comments
 (0)