style(cron): apply rustfmt for scheduler tests
This commit is contained in:
parent
66ee2eb17e
commit
f47af0a850
@ -473,7 +473,9 @@ mod tests {
|
||||
|
||||
async fn env_lock() -> tokio::sync::MutexGuard<'static, ()> {
|
||||
static LOCK: OnceLock<tokio::sync::Mutex<()>> = OnceLock::new();
|
||||
LOCK.get_or_init(|| tokio::sync::Mutex::new(())).lock().await
|
||||
LOCK.get_or_init(|| tokio::sync::Mutex::new(()))
|
||||
.lock()
|
||||
.await
|
||||
}
|
||||
|
||||
struct EnvGuard {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user