mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-15 23:32:46 +00:00
test fix
This commit is contained in:
parent
6a5f6024a2
commit
e37d20bd6f
1 changed files with 4 additions and 1 deletions
|
|
@ -1737,7 +1737,10 @@ mod tests {
|
|||
fn run_and_create_commands_include_test_labels() {
|
||||
let _lock = env_lock().lock().expect("env lock poisoned");
|
||||
let _guard = EnvGuard::set("NEXTEST_RUN_ID", Some("run-cmd-labels"));
|
||||
let context = TestContext::new(PathBuf::from("/tmp/fabro"));
|
||||
let missing_bin_root = tempfile::tempdir().expect("failed to create temp dir");
|
||||
// Keep the binary path missing so this unit test never bootstraps a
|
||||
// shared server based on ambient filesystem state at /tmp/fabro.
|
||||
let context = TestContext::new(missing_bin_root.path().join("fabro"));
|
||||
|
||||
let run_args = context
|
||||
.run_cmd()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue