diff options
Diffstat (limited to 'tvix/store/src/tests/import.rs')
-rw-r--r-- | tvix/store/src/tests/import.rs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tvix/store/src/tests/import.rs b/tvix/store/src/tests/import.rs index ef4ef74d09f7..8b66cb024bf0 100644 --- a/tvix/store/src/tests/import.rs +++ b/tvix/store/src/tests/import.rs @@ -61,9 +61,7 @@ fn single_file() { ); // ensure the blob has been uploaded - assert!(blob_service - .has(&HELLOWORLD_BLOB_DIGEST.to_vec().try_into().unwrap()) - .unwrap()); + assert!(blob_service.has(&HELLOWORLD_BLOB_DIGEST).unwrap()); } #[test] @@ -111,7 +109,5 @@ fn complicated() { .is_some()); // ensure EMPTY_BLOB_CONTENTS has been uploaded - assert!(blob_service - .has(&EMPTY_BLOB_DIGEST.to_vec().try_into().unwrap()) - .unwrap()); + assert!(blob_service.has(&EMPTY_BLOB_DIGEST).unwrap()); } |