Commit d0622f30 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Fix tests

parent dde4384e
......@@ -7,8 +7,9 @@ zathura (0.3.4-1) unstable; urgency=medium
- No longer mark zathura-dev as Multi-Arch: foreign. Thanks to Jakub Wilk
for the report.
* debian/zathura.menu: Removed (command-in-menu-file-and-desktop-file).
* debian/patches/fix-tests.patch: Fix build of test suite.
-- Sebastian Ramacher <sramacher@debian.org> Mon, 21 Dec 2015 18:41:51 +0100
-- Sebastian Ramacher <sramacher@debian.org> Mon, 21 Dec 2015 18:55:56 +0100
zathura (0.3.3-2) unstable; urgency=medium
......
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment