🐛 fix(retention): fix debug string formatting in retention struct
- change format macro to resolve cargo clippy warning
This commit is contained in:
committed by
Jeremiah Russell
parent
051507856a
commit
8fbe12346f
@@ -204,7 +204,7 @@ mod tests {
|
|||||||
#[test]
|
#[test]
|
||||||
fn test_retention_debug() {
|
fn test_retention_debug() {
|
||||||
let retention = Retention::new(MessageAge::Days(30), true);
|
let retention = Retention::new(MessageAge::Days(30), true);
|
||||||
let debug_str = format!("{:?}", retention);
|
let debug_str = format!("{retention:?}");
|
||||||
|
|
||||||
assert!(debug_str.contains("Retention"));
|
assert!(debug_str.contains("Retention"));
|
||||||
assert!(debug_str.contains("Days(30)"));
|
assert!(debug_str.contains("Days(30)"));
|
||||||
|
|||||||
Reference in New Issue
Block a user