Pure formatting pass from `cargo fmt --all`. No logic changes. Separating this out so the 1.9 release feature commits that follow show only their intentional edits.
11 lines
299 B
Rust
11 lines
299 B
Rust
use wfe_core::lock_suite;
|
|
|
|
async fn make_provider() -> wfe_valkey::ValkeyLockProvider {
|
|
let prefix = format!("wfe_test_{}", uuid::Uuid::new_v4().simple());
|
|
wfe_valkey::ValkeyLockProvider::new("redis://localhost:6379", &prefix)
|
|
.await
|
|
.unwrap()
|
|
}
|
|
|
|
lock_suite!(make_provider);
|