Update tests.

This commit is contained in:
Sebastian Ramacher 2012-04-08 18:03:21 +02:00
parent d9f5889415
commit f10cc11bfd

View file

@ -5,9 +5,9 @@
#include "../document.h"
START_TEST(test_open) {
fail_unless(zathura_document_open(NULL, NULL, NULL) == NULL, "Could create document", NULL);
fail_unless(zathura_document_open(NULL, "fl", NULL) == NULL, "Could create document", NULL);
fail_unless(zathura_document_open(NULL, "fl", "pw") == NULL, "Could create document", NULL);
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);
} END_TEST
Suite* suite_document()