aboutsummaryrefslogtreecommitdiffstats
path: root/container-search/src/test/java/com/yahoo/search/searchers
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2022-01-07 17:54:26 +0100
committerJon Bratseth <bratseth@gmail.com>2022-01-07 17:54:26 +0100
commit06838aeabfda8b9a8e49e5b0ed6a2d8b53c1090b (patch)
tree9879aa9bc1278812b1d8e90acd0da25107f49d5e /container-search/src/test/java/com/yahoo/search/searchers
parenteb85f48b3a6e4e69b2d45f2d9393d8b4d8e27daa (diff)
Clearer error message
Diffstat (limited to 'container-search/src/test/java/com/yahoo/search/searchers')
-rw-r--r--container-search/src/test/java/com/yahoo/search/searchers/ValidateNearestNeighborTestCase.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/container-search/src/test/java/com/yahoo/search/searchers/ValidateNearestNeighborTestCase.java b/container-search/src/test/java/com/yahoo/search/searchers/ValidateNearestNeighborTestCase.java
index ef36e16a2b7..14fdd047391 100644
--- a/container-search/src/test/java/com/yahoo/search/searchers/ValidateNearestNeighborTestCase.java
+++ b/container-search/src/test/java/com/yahoo/search/searchers/ValidateNearestNeighborTestCase.java
@@ -164,7 +164,7 @@ public class ValidateNearestNeighborTestCase {
String q = makeQuery("dvector", "foo");
Tensor t = makeTensor(tt_dense_dvector_3);
Result r = doSearch(searcher, q, t);
- assertErrMsg(desc("dvector", "foo", 1, "requires a tensor rank feature query(foo) but this is not present"), r);
+ assertErrMsg(desc("dvector", "foo", 1, "requires a tensor rank feature named 'query(foo)' but this is not present"), r);
}
@Test