1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tests: uri_parser: new test to check empty host

This commit is contained in:
Cenk Gündoğan 2021-02-04 16:20:01 +01:00
parent e399ef5d76
commit 6ef29d9b53
No known key found for this signature in database
GPG Key ID: A3DBC2F744D484D2

View File

@ -216,15 +216,15 @@ static const validate_t validate_uris[] = {
0),
VEC("coap://R@////////////////7///v=1",
true,
"coap",
"R",
"",
"",
"",
"",
"////////////////7///v=1",
"",
"",
"",
"",
-1),
0),
VEC("coa[:////[2001:db5ow:5own/Ov=1",
false,
"",
@ -412,6 +412,17 @@ static const validate_t validate_uris[] = {
"",
"",
0),
VEC("A://@",
true,
"A",
"",
"",
"",
"",
"",
"",
"",
0),
};
static char _failure_msg[VEC_MSG_LEN];