This is an automated email from the ASF dual-hosted git repository.

Xuanwo pushed a commit to branch xuanwo/pr-7569-one-shot-head
in repository https://gitbox.apache.org/repos/asf/opendal.git

commit 4c3bbd31348f0ffdf978b643544f4446456d0963
Author: Xuanwo <[email protected]>
AuthorDate: Sat Oct 31 07:53:16 2026 +0800

    test: preserve the repository license header for the DAV probe
---
 integrations/dav-server/tests/single_shot_streaming.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/integrations/dav-server/tests/single_shot_streaming.rs 
b/integrations/dav-server/tests/single_shot_streaming.rs
index 31a09e716..0915340e5 100644
--- a/integrations/dav-server/tests/single_shot_streaming.rs
+++ b/integrations/dav-server/tests/single_shot_streaming.rs
@@ -106,7 +106,7 @@ async fn 
small_multi_frame_write_bytes_works_with_single_shot_writer() {
         .await
         .unwrap();
     file.flush().await.unwrap();
-    assert_eq!(*stored.lock().unwrap(), b"helloworld");
+    assert_eq!(stored.lock().unwrap().as_slice(), b"helloworld");
 }
 
 #[tokio::test]
@@ -132,5 +132,5 @@ async fn 
small_multi_frame_write_buf_works_with_single_shot_writer() {
         .await
         .unwrap();
     file.flush().await.unwrap();
-    assert_eq!(*stored.lock().unwrap(), b"helloworld");
+    assert_eq!(stored.lock().unwrap().as_slice(), b"helloworld");
 }

Reply via email to