summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBert Vermeulen <bert@biot.com>2013-11-18 01:33:54 +0100
committerBert Vermeulen <bert@biot.com>2013-11-18 01:33:54 +0100
commita8c765481ed4eff56701724f11564a02c8660c03 (patch)
tree3e65c69c63bf2ecd2dcdaafd2f954f4a40e919f8 /tests
parente195c025c303e361d0cc5a207f9c9443fb8deced (diff)
downloadlibsigrokdecode-a8c765481ed4eff56701724f11564a02c8660c03.tar.gz
libsigrokdecode-a8c765481ed4eff56701724f11564a02c8660c03.zip
Fix inverted condition on decoder 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 0b46348..8c60735 100644
--- a/tests/check_decoder.c
+++ b/tests/check_decoder.c
@@ -57,7 +57,7 @@ START_TEST(test_load_all_no_init)
int ret;
ret = srd_decoder_load_all();
- fail_unless(ret == SRD_OK, "srd_decoder_load_all() failed: %d.", ret);
+ fail_unless(ret != SRD_OK, "srd_decoder_load_all() didn't fail properly.");
}
END_TEST