mirror of
https://github.com/mirror/wget.git
synced 2025-03-14 03:40:15 +08:00
* src/url.c (test_uri_merge): Fix check
This commit is contained in:
parent
834d090bf6
commit
3583fa0c61
@ -2543,7 +2543,7 @@ test_uri_merge(void)
|
||||
const struct test_data *t = &test_data[i];
|
||||
char *result = uri_merge (t->url, t->link);
|
||||
bool ok = strcmp (result, t->expected) == 0;
|
||||
if (ok)
|
||||
if (!ok)
|
||||
return aprintf ("test_uri_merge [%u]: expected '%s', got '%s'", i, t->expected, result);
|
||||
|
||||
xfree (result);
|
||||
|
Loading…
Reference in New Issue
Block a user