Skip to content

Commit

Permalink
Bump ui_test version -> 0.25
Browse files Browse the repository at this point in the history
  • Loading branch information
flip1995 committed Jul 26, 2024
1 parent 345c94c commit 82b4434
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 3 additions & 2 deletions tests/compile-test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 82b4434

Please sign in to comment.