Commit 67ee4c7a authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Add a test of address header with error.

parent bf18b75f
......@@ -536,6 +536,8 @@ static void test_allow_header(void) {
static void test_address_with_error_header(void) {
belle_sip_header_address_t* laddress = belle_sip_header_address_parse("sip:liblinphone_tester@=auth1.example.org");
CU_ASSERT_PTR_NULL(laddress);
laddress = belle_sip_header_address_parse("liblinphone_tester");
CU_ASSERT_PTR_NULL(laddress);
}
static void test_address_header(void) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment