From f620304b3aea7c8ef32dd2d538eb296cd6de1bbc Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 5 Dec 2023 15:08:03 +0100 Subject: [PATCH] fix that test --- src/time/cds.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/time/cds.rs b/src/time/cds.rs index 65e9ea3..e72caaf 100644 --- a/src/time/cds.rs +++ b/src/time/cds.rs @@ -1460,7 +1460,7 @@ mod tests { assert_eq!(expected, 7); assert_eq!( error.to_string(), - "time stamp: target slice with size 0 is too small, expected size of at least 7" + format!("time stamp: target slice with size {i} is too small, expected size of at least 7") ); } _ => panic!(