Skip to content

Commit

Permalink
[test] adding Suite/Ste tests for root expansion bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
albarrentine committed Jan 2, 2018
1 parent 071aee0 commit d33b669
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/test_expand.c
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,11 @@ TEST test_unit_root_expansions(void) {
CHECK_CALL(test_root_expansion_contains_with_languages("Apt #101", "101", options, 1, "en"));
CHECK_CALL(test_root_expansion_contains_with_languages("Apartment 101", "101", options, 1, "en"));
CHECK_CALL(test_root_expansion_contains_with_languages("Apartment #101", "101", options, 1, "en"));
CHECK_CALL(test_root_expansion_contains_with_languages("Ste 101", "101", options, 1, "en"));
CHECK_CALL(test_root_expansion_contains_with_languages("Ste No 101", "101", options, 1, "en"));
CHECK_CALL(test_root_expansion_contains_with_languages("Ste #101", "101", options, 1, "en"));
CHECK_CALL(test_root_expansion_contains_with_languages("Suite 101", "101", options, 1, "en"));
CHECK_CALL(test_root_expansion_contains_with_languages("Suite #101", "101", options, 1, "en"));

// Specifiers
CHECK_CALL(test_root_expansion_contains_with_languages("PH 1", "penthouse 1", options, 1, "en"));
Expand Down

0 comments on commit d33b669

Please sign in to comment.