[test] different test case for expansion, male names are overemphasized as it is
This commit is contained in:
@@ -139,11 +139,11 @@ TEST test_expansions(void) {
|
||||
PASS();
|
||||
}
|
||||
|
||||
TEST test_expansion_for_invalid_input(void) {
|
||||
TEST test_expansion_for_non_address_input(void) {
|
||||
size_t num_expansions;
|
||||
|
||||
// This is tested as the input caused a segfault in expand_alternative_phrase_option
|
||||
libpostal_expand_address("bob-ad1233@blah.co", libpostal_get_default_options(), &num_expansions);
|
||||
libpostal_expand_address("ida-b@wells.co", libpostal_get_default_options(), &num_expansions);
|
||||
PASS();
|
||||
}
|
||||
|
||||
@@ -323,7 +323,7 @@ SUITE(libpostal_expansion_tests) {
|
||||
RUN_TEST(test_po_box_root_expansions);
|
||||
RUN_TEST(test_expansions_language_classifier);
|
||||
RUN_TEST(test_expansions_no_options);
|
||||
RUN_TEST(test_expansion_for_invalid_input);
|
||||
RUN_TEST(test_expansion_for_non_address_input);
|
||||
|
||||
libpostal_teardown();
|
||||
libpostal_teardown_language_classifier();
|
||||
|
||||
Reference in New Issue
Block a user