Skip to content

Commit

Permalink
Merge pull request #1452 from pelias/pelias-parser-1.52.0
Browse files Browse the repository at this point in the history
Update pelias-parser to 1.52.0
  • Loading branch information
orangejulius authored Jun 30, 2020
2 parents 5fc6ebb + 5134090 commit 31bda16
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"pelias-logger": "^1.2.0",
"pelias-microservice-wrapper": "^1.7.0",
"pelias-model": "^7.0.0",
"pelias-parser": "1.44.0",
"pelias-parser": "1.52.0",
"pelias-query": "^10.0.0",
"pelias-sorting": "^1.2.0",
"predicates": "^2.0.0",
Expand Down
6 changes: 4 additions & 2 deletions test/unit/sanitizer/_text_pelias_parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ module.exports.tests.text_parser = function (test, common) {

// Query with two tokens, number second
cases.push(['main 123', {
subject: 'main 123'
subject: '123 main',
street: 'main',
housenumber: '123'
}]);

// Query with many tokens
Expand Down Expand Up @@ -147,7 +149,7 @@ module.exports.tests.text_parser = function (test, common) {
// university
cases.push(['Union College, Kentucky', {
subject: 'Union College',
place: 'Union College',
venue: 'Union College',
region: 'Kentucky',
admin: 'Kentucky'
}]);
Expand Down

0 comments on commit 31bda16

Please sign in to comment.