mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 07:26:01 +01:00
Make the tests compile again.
This commit is contained in:
parent
108cca154e
commit
e960e9cca3
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue