diff options
author | Vincent Sanders <vince@kyllikki.org> | 2015-07-07 00:05:05 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-07-07 00:05:30 +0100 |
commit | ccfc2aeefa87400d506a59799933ad591e7d92ca (patch) | |
tree | 106dd6646970a6e66f67f57263341ec80069c5d0 /test/nsurl.c | |
parent | c38670ade8c664fa511cebb4b5d2950b12e7bf81 (diff) | |
download | netsurf-ccfc2aeefa87400d506a59799933ad591e7d92ca.tar.gz netsurf-ccfc2aeefa87400d506a59799933ad591e7d92ca.tar.bz2 |
make nsurl unit test work again
Diffstat (limited to 'test/nsurl.c')
-rw-r--r-- | test/nsurl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/nsurl.c b/test/nsurl.c index 891e5c91e..2afe91b6d 100644 --- a/test/nsurl.c +++ b/test/nsurl.c @@ -213,7 +213,7 @@ static const struct test_triplets replace_query_tests[] = { /** * Test nsurl */ -int main(void) +int main(int argc, char **argv) { nsurl *base; nsurl *joined; @@ -227,6 +227,7 @@ int main(void) nserror err; verbose_log = true; + nslog_init(NULL, &argc, argv); if (corestrings_init() != NSERROR_OK) { assert(0 && "Failed to init corestrings."); |