diff --git a/tests/ut/test_index_check.cc b/tests/ut/test_index_check.cc index a8d3f8674..7d440323b 100644 --- a/tests/ut/test_index_check.cc +++ b/tests/ut/test_index_check.cc @@ -153,7 +153,7 @@ TEST_CASE("Test support mmap index", "[IndexCheckTest]") { CHECK(KnowhereCheck::SupportMmapIndexTypeCheck(IndexEnum::INDEX_SPARSE_WAND)); #ifdef KNOWHERE_WITH_CARDINAL - CHECK(KnowhereCheck::SuppportMmapIndexTypeCheck(IndexEnum::INDEX_DISKANN)); + CHECK(KnowhereCheck::SupportMmapIndexTypeCheck(IndexEnum::INDEX_DISKANN)); #else CHECK_FALSE(KnowhereCheck::SupportMmapIndexTypeCheck(IndexEnum::INDEX_DISKANN)); #endif