mirror of
https://github.com/uutils/findutils.git
synced 2026-06-10 15:48:30 -07:00
tests/common/mod.rs: adapt to change in ctor
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ pub mod test_helpers;
|
||||
// Set UUTESTS_BINARY_PATH before any tests run. The value is only used by
|
||||
// TestScenario::new() to satisfy its internal setup; tests that need a
|
||||
// specific binary pass it explicitly via TestScenario::cmd(BINARY_PATH).
|
||||
#[ctor::ctor]
|
||||
#[ctor::ctor(unsafe)]
|
||||
fn init() {
|
||||
std::env::set_var("UUTESTS_BINARY_PATH", env!("CARGO_BIN_EXE_find"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user