From e960e9cca30b7e7d0bdb10df75e6df75a1949bda Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Thu, 30 Aug 2012 20:07:50 +0200 Subject: [PATCH] Make the tests compile again. --- tests/test_session.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_session.c b/tests/test_session.c index a4656f7..88b54cb 100644 --- a/tests/test_session.c +++ b/tests/test_session.c @@ -5,8 +5,9 @@ #include "../zathura.h" START_TEST(test_create) { - zathura_t* zathura = zathura_init(0, NULL); + zathura_t* zathura = zathura_create(); fail_unless(zathura != NULL, "Could not create session", NULL); + fail_unless(zathura_init(zathura) == true, "Could not initialize session", NULL); zathura_free(zathura); } END_TEST