From aefe48ea99a2c1498ec8cf4bdd4eb7afed0da6d2 Mon Sep 17 00:00:00 2001 From: 1911860538 Date: Sat, 9 Aug 2025 19:13:37 +0800 Subject: [PATCH] test(common): add missing assertion in full_rewind test --- src/common/io/rewind.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/io/rewind.rs b/src/common/io/rewind.rs index c2556f013d..c1f7a4f1b9 100644 --- a/src/common/io/rewind.rs +++ b/src/common/io/rewind.rs @@ -156,5 +156,7 @@ mod tests { let mut buf = [0; 5]; stream.read_exact(&mut buf).await.expect("read1"); + + assert_eq!(&buf, &underlying); } }