aboutsummaryrefslogtreecommitdiff
path: root/src/app/input/modal.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/input/modal.rs')
-rw-r--r--src/app/input/modal.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/app/input/modal.rs b/src/app/input/modal.rs
index 1fae3800..acd481b8 100644
--- a/src/app/input/modal.rs
+++ b/src/app/input/modal.rs
@@ -675,8 +675,7 @@ mod tests {
use super::*;
fn config_env_lock() -> &'static std::sync::Mutex<()> {
- static LOCK: std::sync::OnceLock<std::sync::Mutex<()>> = std::sync::OnceLock::new();
- LOCK.get_or_init(|| std::sync::Mutex::new(()))
+ crate::config::test_config_env_lock()
}
fn temp_config_path(name: &str) -> std::path::PathBuf {