]> sigrok.org Git - libsigrokdecode.git/commitdiff
Fix inverted condition on doc check
authorBert Vermeulen <redacted>
Mon, 18 Nov 2013 09:49:04 +0000 (10:49 +0100)
committerBert Vermeulen <redacted>
Mon, 18 Nov 2013 09:49:04 +0000 (10:49 +0100)
tests/check_decoder.c

index 8c60735d34557a01f9d89546855c6a2efcade6eb..8b637159ce98982cde5adec69e8c2e39af44e151 100644 (file)
@@ -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