tests: update unit tests

Not really a best practise. They should have been run before each commit
and updated accordingly. Next time..
This commit is contained in:
Michael Vetter
2026-02-27 23:01:14 +01:00
parent 02cde29b65
commit 36b15ec6d5
12 changed files with 215 additions and 215 deletions

View File

@@ -720,8 +720,8 @@ unique_filename_from_url_td(void** state)
assert_string_equal(got_filename, exp_filename);
free(got_filename);
free(exp_filename);
g_free(got_filename);
g_free(exp_filename);
}
}
@@ -735,7 +735,7 @@ _lists_equal(GSList* a, GSList* b)
GSList* curra = a;
GSList* currb = b;
while (curra) {
while (curra && currb) {
int aval = GPOINTER_TO_INT(curra->data);
int bval = GPOINTER_TO_INT(currb->data);