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:
parent
e399ef5d76
commit
6ef29d9b53
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user