about summary refs log tree commit diff
path: root/tests/search_native_shapes.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/search_native_shapes.rs')
-rw-r--r--tests/search_native_shapes.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/search_native_shapes.rs b/tests/search_native_shapes.rs
index 7358ed3..c0bcae7 100644
--- a/tests/search_native_shapes.rs
+++ b/tests/search_native_shapes.rs
@@ -47,7 +47,7 @@
 //! set it to ~/spikes/index-self-build/xapian-index); the test skips
 //! loudly when unset so the hermetic suites stay green.
 
-use genenetwork4::search::{Engine, SearchError, SearchHit, native::Native};
+use genenetwork4::search::{Engine, SearchError, SearchHit, gnindex::CrateEngine};
 
 /// The recorded behavior class this gate asserts (see module doc).
 #[derive(Clone, Copy, PartialEq, Eq)]
@@ -224,7 +224,7 @@ async fn native_engine_shape_class_gate() {
     let mut passed = 0usize;
     let mut failed = Vec::new();
     for (id, query, type_, expected) in SHAPES {
-        let result = Native.search(query, type_, 100, 1).await;
+        let result = CrateEngine::from_config().search(query, type_, 100, 1).await;
         match (expected, &result) {
             (Class::Match200, Ok(hits)) => {
                 // Dev-index counts are REFERENCE DATA ONLY (AMENDMENT B):