about summary refs log tree commit diff
path: root/tvix/castore/src/tests/import.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/castore/src/tests/import.rs')
-rw-r--r--tvix/castore/src/tests/import.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/tvix/castore/src/tests/import.rs b/tvix/castore/src/tests/import.rs
index 75c632799cd9..333254706d61 100644
--- a/tvix/castore/src/tests/import.rs
+++ b/tvix/castore/src/tests/import.rs
@@ -4,6 +4,7 @@ use crate::fixtures::*;
 use crate::import::ingest_path;
 use crate::proto;
 use crate::utils::{gen_blob_service, gen_directory_service};
+use std::ops::Deref;
 use std::sync::Arc;
 use tempfile::TempDir;
 
@@ -27,7 +28,7 @@ async fn symlink() {
 
     let root_node = ingest_path(
         blob_service,
-        directory_service,
+        &directory_service.deref(),
         tmpdir.path().join("doesntmatter"),
     )
     .await
@@ -53,7 +54,7 @@ async fn single_file() {
 
     let root_node = ingest_path(
         blob_service.clone(),
-        directory_service,
+        &directory_service.deref(),
         tmpdir.path().join("root"),
     )
     .await
@@ -92,7 +93,7 @@ async fn complicated() {
 
     let root_node = ingest_path(
         blob_service.clone(),
-        directory_service.clone(),
+        &directory_service.deref(),
         tmpdir.path(),
     )
     .await