mirror of
https://github.com/transmission/transmission
synced 2024-12-25 09:13:06 +00:00
Fully cover tr_metainfo_sanitize_path_component
This commit is contained in:
parent
99033b067d
commit
bff188c2cf
1 changed files with 3 additions and 1 deletions
|
@ -144,7 +144,9 @@ static int test_sanitize(void)
|
|||
{ "foo", 3, "foo", false },
|
||||
{ ".foo", 4, ".foo", false },
|
||||
{ "..foo", 5, "..foo", false },
|
||||
{ "foo.bar.baz", 11, "foo.bar.baz", false }
|
||||
{ "foo.bar.baz", 11, "foo.bar.baz", false },
|
||||
{ "null", 4, "null", false },
|
||||
{ "compass", 7, "compass", false }
|
||||
};
|
||||
|
||||
for (size_t i = 0; i < TR_N_ELEMENTS(test_data); ++i)
|
||||
|
|
Loading…
Reference in a new issue