From 13d3741feacba4c2ab5e1563fb186e0c82d8f08c Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Wed, 17 Jun 2020 21:36:06 +0200 Subject: [PATCH] Fix search tests --- .../src/main/java/net/osmand/search/core/SearchCoreFactory.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OsmAnd-java/src/main/java/net/osmand/search/core/SearchCoreFactory.java b/OsmAnd-java/src/main/java/net/osmand/search/core/SearchCoreFactory.java index 3eccfaaf1c..e174967d97 100644 --- a/OsmAnd-java/src/main/java/net/osmand/search/core/SearchCoreFactory.java +++ b/OsmAnd-java/src/main/java/net/osmand/search/core/SearchCoreFactory.java @@ -1036,6 +1036,8 @@ public class SearchCoreFactory { res.localeName += " " + ref; } } + } else { + phrase.countUnknownWordsMatch(res, "", null, countExtraWords); } res.object = object;