summaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/attribute/tensorattribute/tensorattribute_test.cpp
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2020-04-27 09:49:52 +0200
committerTor Egge <Tor.Egge@broadpark.no>2020-04-27 09:50:36 +0200
commitdc92064fec43ee5e60df086061c49149a398383c (patch)
treefd63915517cfbc26244dec4b04d59412c6f8b97b /searchlib/src/tests/attribute/tensorattribute/tensorattribute_test.cpp
parentc09675a41768642d37390c00cb05ecfc533ca5d1 (diff)
Fix typos in test descriptions.
Diffstat (limited to 'searchlib/src/tests/attribute/tensorattribute/tensorattribute_test.cpp')
-rw-r--r--searchlib/src/tests/attribute/tensorattribute/tensorattribute_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/searchlib/src/tests/attribute/tensorattribute/tensorattribute_test.cpp b/searchlib/src/tests/attribute/tensorattribute/tensorattribute_test.cpp
index a008bc73e93..79fba27bb59 100644
--- a/searchlib/src/tests/attribute/tensorattribute/tensorattribute_test.cpp
+++ b/searchlib/src/tests/attribute/tensorattribute/tensorattribute_test.cpp
@@ -739,7 +739,7 @@ TEST_F("onLoads() ignores saved nearest neighbor index if not enabled in config"
EXPECT_EQUAL(f.as_dense_tensor().nearest_neighbor_index(), nullptr);
}
-TEST_F("onLoad() ignores saved nearest neightbor index if major index parameters are changed", DenseTensorAttributeMockIndex)
+TEST_F("onLoad() ignores saved nearest neighbor index if major index parameters are changed", DenseTensorAttributeMockIndex)
{
f.save_example_tensors_with_mock_index();
f.set_hnsw_index_params(HnswIndexParams(5, 20, DistanceMetric::Euclidean));
@@ -750,7 +750,7 @@ TEST_F("onLoad() ignores saved nearest neightbor index if major index parameters
index.expect_adds({{1, {3, 5}}, {2, {7, 9}}});
}
-TEST_F("onLoad() uses saved nearest neightbor index if only minor index parameters are changed", DenseTensorAttributeMockIndex)
+TEST_F("onLoad() uses saved nearest neighbor index if only minor index parameters are changed", DenseTensorAttributeMockIndex)
{
f.save_example_tensors_with_mock_index();
f.set_hnsw_index_params(HnswIndexParams(4, 21, DistanceMetric::Euclidean));