Skip to content

Commit cfc7432

Browse files
Update ui_test version to 0.29.2
1 parent cb9682b commit cfc7432

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ anstream = "0.6.18"
3333

3434
[dev-dependencies]
3535
cargo_metadata = "0.18.1"
36-
ui_test = "0.26.4"
36+
ui_test = "0.29.2"
3737
regex = "1.5.5"
3838
serde = { version = "1.0.145", features = ["derive"] }
3939
serde_json = "1.0.122"

tests/compile-test.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use test_utils::IS_RUSTC_TEST_SUITE;
1616
use ui_test::custom_flags::Flag;
1717
use ui_test::custom_flags::rustfix::RustfixMode;
1818
use ui_test::spanned::Spanned;
19-
use ui_test::{Args, CommandBuilder, Config, Match, OutputConflictHandling, status_emitter};
19+
use ui_test::{Args, CommandBuilder, Config, Match, error_on_output_conflict, status_emitter};
2020

2121
use std::collections::{BTreeMap, HashMap};
2222
use std::env::{self, set_var, var_os};
@@ -142,7 +142,7 @@ impl TestContext {
142142
fn base_config(&self, test_dir: &str, mandatory_annotations: bool) -> Config {
143143
let target_dir = PathBuf::from(var_os("CARGO_TARGET_DIR").unwrap_or_else(|| "target".into()));
144144
let mut config = Config {
145-
output_conflict_handling: OutputConflictHandling::Error,
145+
output_conflict_handling: error_on_output_conflict,
146146
filter_files: env::var("TESTNAME")
147147
.map(|filters| filters.split(',').map(str::to_string).collect())
148148
.unwrap_or_default(),

0 commit comments

Comments
 (0)