Skip to content
Snippets Groups Projects
Commit a5f7ba33 authored by Simon McVittie's avatar Simon McVittie
Browse files

tests: Add some missing coverage


We never explicitly tested the case where _srt_string_ends_with() is
looking for a suffix longer than the string itself.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 9ab1c0eb
No related branches found
No related tags found
1 merge request!781Test coverage and refactoring in preparation for steamrt/tasks#595
......@@ -1578,6 +1578,7 @@ static const struct
{
{ "", 0, "", TRUE },
{ "bar", -1, "bar", TRUE },
{ "bar", -1, "bard", FALSE },
{ "foobar", -1, "bar", TRUE },
{ "foobar", -1, "BAR", FALSE },
{ "foo\0bar", 7, "ar", TRUE },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment