mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
Merge pull request #1733 from krahulreddy/whitespaces-considered-as-single-space
Support whitespace characters(x09-x0d) as single space
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -164,3 +164,23 @@ Feature: Search queries
|
|||||||
| 0 | 6395 |
|
| 0 | 6395 |
|
||||||
| 1 | 6395 BIS |
|
| 1 | 6395 BIS |
|
||||||
|
|
||||||
|
Scenario Outline: Same Searches with white spaces
|
||||||
|
When sending json search query "<data>"
|
||||||
|
Then exactly 1 result is returned
|
||||||
|
And results contain
|
||||||
|
| class |
|
||||||
|
| building |
|
||||||
|
|
||||||
|
Examples:
|
||||||
|
| data |
|
||||||
|
| amerlugalpe, N 47.15739° E 9.61264° |
|
||||||
|
| amerlugalpe, N 47.15739° E 9.61264° |
|
||||||
|
| amerlugalpe , N 47.15739° E 9.61264° |
|
||||||
|
| amerlugalpe, N 47.15739° E 9.61264° |
|
||||||
|
| amerlugalpe, N 47.15739° E 9.61264° |
|
||||||
|
|
||||||
|
Scenario: Searched with white spaces
|
||||||
|
When sending json search query "22nd Street Southwest,Huron"
|
||||||
|
Then results contain
|
||||||
|
| class | type |
|
||||||
|
| highway | residential |
|
||||||
Reference in New Issue
Block a user