From d33b6693b9fe603f3f93ecd8f2a2c2f6946b98bf Mon Sep 17 00:00:00 2001 From: Al Date: Tue, 2 Jan 2018 03:50:23 -0500 Subject: [PATCH] [test] adding Suite/Ste tests for root expansion bugfix --- test/test_expand.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/test_expand.c b/test/test_expand.c index 2b451295..9a4e4da8 100644 --- a/test/test_expand.c +++ b/test/test_expand.c @@ -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"));