fix-tests.patch 1.13 KB
Newer Older
Sebastian Ramacher's avatar
Sebastian Ramacher committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
Description: Fix build of tests
Origin: upstream,
 https://git.pwmt.org/pwmt/zathura/commit/9bfc58216e7d7e9b001f80084b3551973709d092
Last-Update: 2015-12-21

diff --git a/tests/test_document.c b/tests/test_document.c
index c5aea4a..75b401d 100644
--- a/tests/test_document.c
+++ b/tests/test_document.c
@@ -5,9 +5,10 @@
 #include "document.h"
 
 START_TEST(test_open) {
-  fail_unless(zathura_document_open(NULL, NULL, NULL, NULL) == NULL, "Could create document", NULL);
-  fail_unless(zathura_document_open(NULL, "fl", NULL, NULL) == NULL, "Could create document", NULL);
-  fail_unless(zathura_document_open(NULL, "fl", "pw", NULL) == NULL, "Could create document", NULL);
+  fail_unless(zathura_document_open(NULL, NULL, NULL, NULL, NULL) == NULL, "Could create document", NULL);
+  fail_unless(zathura_document_open(NULL, "fl", NULL, NULL, NULL) == NULL, "Could create document", NULL);
+  fail_unless(zathura_document_open(NULL, "fl", "ur", NULL, NULL) == NULL, "Could create document", NULL);
+  fail_unless(zathura_document_open(NULL, "fl", NULL, "pw", NULL) == NULL, "Could create document", NULL);
 } END_TEST
 
 Suite* suite_document()
-- 
2.6.4