mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-18 10:43:15 +00:00
style(lock): format expired refresh assertion
This commit is contained in:
@@ -464,7 +464,10 @@ mod tests {
|
||||
tokio::time::advance(Duration::from_secs(11)).await;
|
||||
|
||||
assert!(
|
||||
!client.refresh(&lock_id).await.expect("expired refresh should return a result"),
|
||||
!client
|
||||
.refresh(&lock_id)
|
||||
.await
|
||||
.expect("expired refresh should return a result"),
|
||||
"an expired guard must not be refreshed"
|
||||
);
|
||||
assert!(
|
||||
|
||||
Reference in New Issue
Block a user