Auto merge of #13164 - flip1995:ui-test-bump, r=Alexendoo

Bump ui_test version -> 0.25

r? `@Alexendoo`

cc `@GuillaumeGomez`

changelog: none
This commit is contained in:
bors 2024-07-26 11:30:01 +00:00
commit 3504145753
2 changed files with 4 additions and 3 deletions

View file

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

View file

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