Skip to content

Commit

Permalink
feat(deps): Update pelias-parser to 1.52.0
Browse files Browse the repository at this point in the history
There were remarkably few changes required to the unit tests in API with
this upgrade.
  • Loading branch information
orangejulius committed Jun 29, 2020
1 parent e6bbd5f commit 70463ea
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 70463ea

Please sign in to comment.