Skip to content

Commit e04494f

Browse files
committed
fmt all
1 parent ea3c4ad commit e04494f

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

src/security/token_provider.rs

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,8 +304,15 @@ mod tests {
304304
let tp = TokenProvider::new("stale-token".into(), Some(vault), "dep-xyz".into());
305305

306306
let changed = tp.refresh().await.unwrap();
307-
assert!(!changed, "Strategy 3 must not claim success on write failure");
308-
assert_eq!(tp.get().await, "stale-token", "token must not change on failure");
307+
assert!(
308+
!changed,
309+
"Strategy 3 must not claim success on write failure"
310+
);
311+
assert_eq!(
312+
tp.get().await,
313+
"stale-token",
314+
"token must not change on failure"
315+
);
309316

310317
write.assert_async().await;
311318
}

0 commit comments

Comments
 (0)