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

tests/unittests/tests-uri_parser: Added PRIuSIZE

This commit is contained in:
Frederik Haxel 2024-01-12 11:59:48 +01:00
parent 381cae6eb1
commit a6a6e31699

View File

@ -57,9 +57,10 @@ static int _compare_string_buffer(const char *name, const char *input_uri, const
(strncmp(actual_str, expected_str, actual_len) == 0)) {
return 0;
}
printf(
"\nWith given input uri '%s', expected %s '%s' with length '%" PRIuSIZE "' but got '%.*s' with length '%d'\n",
input_uri, name, expected_str, strlen(expected_str), actual_len, actual_str, actual_len);
printf("\nWith given input uri '%s', expected %s '%s' with length '%"
PRIuSIZE "' but got '%.*s' with length '%" PRIuSIZE "'\n",
input_uri, name, expected_str, strlen(expected_str),
(unsigned) actual_len, actual_str, actual_len);
return -1;
}