about summary refs log tree commit diff
path: root/tvix/store/src/blobreader.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/store/src/blobreader.rs')
-rw-r--r--tvix/store/src/blobreader.rs14
1 files changed, 3 insertions, 11 deletions
diff --git a/tvix/store/src/blobreader.rs b/tvix/store/src/blobreader.rs
index 5fb26228be65..b4e56d909b26 100644
--- a/tvix/store/src/blobreader.rs
+++ b/tvix/store/src/blobreader.rs
@@ -134,23 +134,15 @@ mod tests {
     use super::BlobReader;
     use crate::chunkservice::ChunkService;
     use crate::proto;
+    use crate::tests::fixtures::DUMMY_DATA_1;
+    use crate::tests::fixtures::DUMMY_DATA_2;
+    use crate::tests::fixtures::DUMMY_DIGEST;
     use crate::tests::utils::gen_chunk_service;
-    use lazy_static::lazy_static;
     use std::io::Cursor;
     use std::io::Read;
     use std::io::Write;
     use tempfile::TempDir;
 
-    lazy_static! {
-        static ref DUMMY_DIGEST: Vec<u8> = vec![
-            0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-            0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-            0x00, 0x00, 0x00, 0x00,
-        ];
-        static ref DUMMY_DATA_1: Vec<u8> = vec![0x01, 0x02, 0x03];
-        static ref DUMMY_DATA_2: Vec<u8> = vec![0x04, 0x05];
-    }
-
     #[test]
     /// reading from a blobmeta with zero chunks should produce zero bytes.
     fn empty_blobmeta() -> anyhow::Result<()> {