From: Bert Vermeulen Date: Mon, 18 Nov 2013 09:49:04 +0000 (+0100) Subject: Fix inverted condition on doc check X-Git-Tag: libsigrokdecode-0.3.0~220 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=092f1437d385585ebf12c6a060e753ba812d1700;p=libsigrokdecode.git Fix inverted condition on doc check --- diff --git a/tests/check_decoder.c b/tests/check_decoder.c index 8c60735..8b63715 100644 --- a/tests/check_decoder.c +++ b/tests/check_decoder.c @@ -307,7 +307,7 @@ END_TEST START_TEST(test_doc_get_null) { srd_init(NULL); - fail_unless(srd_decoder_doc_get(NULL) != NULL); + fail_unless(srd_decoder_doc_get(NULL) == NULL); srd_exit(); } END_TEST