From: Bert Vermeulen Date: Mon, 18 Nov 2013 00:33:54 +0000 (+0100) Subject: Fix inverted condition on decoder check X-Git-Tag: libsigrokdecode-0.3.0~223 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=a8c765481ed4eff56701724f11564a02c8660c03;p=libsigrokdecode.git Fix inverted condition on decoder check --- 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