summaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/common
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2020-07-10 13:19:09 +0000
committerArne Juul <arnej@verizonmedia.com>2020-07-15 15:39:22 +0000
commit42a328d165fb48f800b9cba556b8d24d4759d609 (patch)
tree848073f152879e85ff6649dcd04871082dfeb611 /searchlib/src/tests/common
parent2ff70ed24feb03080489b63bd84c30e26108066b (diff)
refactor geo location parsing
Diffstat (limited to 'searchlib/src/tests/common')
-rw-r--r--searchlib/src/tests/common/location/geo_location_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/searchlib/src/tests/common/location/geo_location_test.cpp b/searchlib/src/tests/common/location/geo_location_test.cpp
index 34567b430b7..452adea2579 100644
--- a/searchlib/src/tests/common/location/geo_location_test.cpp
+++ b/searchlib/src/tests/common/location/geo_location_test.cpp
@@ -8,12 +8,12 @@ using search::common::GeoLocationSpec;
bool is_parseable(const char *str) {
GeoLocationSpec loc;
- return loc.parse(str);
+ return loc.parseOldFormat(str);
}
GeoLocationSpec parse(const char *str) {
GeoLocationSpec loc;
- EXPECT_TRUE(loc.parse(str));
+ EXPECT_TRUE(loc.parseOldFormat(str));
return loc;
}