From fbbcf325b8bbe72f924da6a7cdb128d973ef0026 Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Mon, 11 Nov 2024 14:46:19 -0700 Subject: fix conditional assignment when original is inherited --- tests/utils/mod.rs | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/utils/mod.rs (limited to 'tests/utils') diff --git a/tests/utils/mod.rs b/tests/utils/mod.rs new file mode 100644 index 0000000..8b834c1 --- /dev/null +++ b/tests/utils/mod.rs @@ -0,0 +1,13 @@ +use std::path::Path; +use std::process::{Command, Output}; + +use eyre::Context; + +pub type R = eyre::Result<()>; + +pub fn make(dir: impl AsRef) -> eyre::Result { + Command::new(env!("CARGO_BIN_EXE_makers")) + .current_dir(dir) + .output() + .wrap_err("") +} -- cgit v1.2.3