Skip to content

Commit 8f1e699

Browse files
committed
[fix] loading transliteration module in address_parser_test.c as well
1 parent 3939dd0 commit 8f1e699

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/address_parser_test.c

+8
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,14 @@ int main(int argc, char **argv) {
142142

143143
log_info("address dictionary module loaded\n");
144144

145+
// Needs to load for normalization
146+
if (!transliteration_module_setup(NULL)) {
147+
log_error("Could not load transliteration module\n");
148+
exit(EXIT_FAILURE);
149+
}
150+
151+
log_info("transliteration module loaded\n");
152+
145153
if (!geodb_module_setup(NULL)) {
146154
log_error("Could not load geodb dictionaries\n");
147155
exit(EXIT_FAILURE);

0 commit comments

Comments
 (0)