summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBert Vermeulen <bert@biot.com>2013-11-18 10:49:04 +0100
committerBert Vermeulen <bert@biot.com>2013-11-18 10:49:04 +0100
commit092f1437d385585ebf12c6a060e753ba812d1700 (patch)
tree333a0a43ca75583bfb1f9da903b86cd6d0488a5a /tests
parentaac68131f8ab9aa6dc1f1392a4f9a131a1c54d36 (diff)
downloadlibsigrokdecode-092f1437d385585ebf12c6a060e753ba812d1700.tar.gz
libsigrokdecode-092f1437d385585ebf12c6a060e753ba812d1700.zip
Fix inverted condition on doc check
Diffstat (limited to 'tests')
-rw-r--r--tests/check_decoder.c2
1 files changed, 1 insertions, 1 deletions
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