diff options
Diffstat (limited to 'tvix/store/src/fs')
-rw-r--r-- | tvix/store/src/fs/tests.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tvix/store/src/fs/tests.rs b/tvix/store/src/fs/tests.rs index 25a3df1df145..7b69d2fc0c14 100644 --- a/tvix/store/src/fs/tests.rs +++ b/tvix/store/src/fs/tests.rs @@ -199,8 +199,8 @@ async fn populate_directory_with_keep( // upload empty blob let mut bw = blob_service.open_write().await; assert_eq!( - fixtures::EMPTY_BLOB_DIGEST.to_vec(), - bw.close().await.expect("must succeed closing").to_vec(), + fixtures::EMPTY_BLOB_DIGEST.as_slice(), + bw.close().await.expect("must succeed closing").as_slice(), ); // upload directory @@ -282,8 +282,8 @@ async fn populate_directory_complicated( // upload empty blob let mut bw = blob_service.open_write().await; assert_eq!( - fixtures::EMPTY_BLOB_DIGEST.to_vec(), - bw.close().await.expect("must succeed closing").to_vec(), + fixtures::EMPTY_BLOB_DIGEST.as_slice(), + bw.close().await.expect("must succeed closing").as_slice(), ); // upload inner directory |