From a8ad57bab204d20a91ab8978a2730195e423caa9 Mon Sep 17 00:00:00 2001 From: Ivan Nardi Date: Thu, 5 Jun 2025 14:37:53 +0200 Subject: Sync unit tests results --- example/ndpiReader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example/ndpiReader.c') diff --git a/example/ndpiReader.c b/example/ndpiReader.c index 0d0f70245..0335d2eed 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -6568,7 +6568,7 @@ void encodeDomainsUnitTest() { str = (char*)"222.0grand-casino.com"; assert(ndpi_get_custom_category_match(ndpi_str, str, strlen(str), &id) == 0); assert(id == 107); str = (char*)"10bet.com"; assert(ndpi_get_custom_category_match(ndpi_str, str, strlen(str), &id) == 0); assert(id == 107); str = (char*)"www.ntop.org"; assert(ndpi_get_custom_category_match(ndpi_str, str, strlen(str), &id) == -1); assert(id == 0); - str = (char*)"www.andrewpope.com"; assert(ndpi_get_custom_category_match(ndpi_str, str, strlen(str), &id) == 0); assert(id == 100); + str = (char*)"lifyqyi.com"; assert(ndpi_get_custom_category_match(ndpi_str, str, strlen(str), &id) == 0); assert(id == 100); } ndpi_exit_detection_module(ndpi_str); -- cgit v1.2.3