Bump ui_test version -> 0.25

This commit is contained in:
Philipp Krones 2024-07-26 11:40:03 +02:00
parent 345c94c98f
commit 82b44345a5
No known key found for this signature in database
GPG Key ID: 1CA0DF2AF59D68A5
2 changed files with 4 additions and 3 deletions

View File

@ -30,7 +30,7 @@ color-print = "0.3.4"
anstream = "0.6.0"
[dev-dependencies]
ui_test = "0.24"
ui_test = "0.25"
regex = "1.5.5"
toml = "0.7.3"
walkdir = "2.3"

View File

@ -209,7 +209,8 @@ fn run_ui_toml() {
ui_test::run_tests_generic(
vec![config],
ui_test::default_file_filter,
|config, path, _file_contents| {
|config, file_contents| {
let path = file_contents.span().file;
config
.program
.envs
@ -261,7 +262,7 @@ fn run_ui_cargo() {
path.ends_with("Cargo.toml")
.then(|| ui_test::default_any_file_filter(path, config) && !ignored_32bit(path))
},
|_config, _path, _file_contents| {},
|_config, _file_contents| {},
status_emitter::Text::from(args.format),
)
.unwrap();