]> sigrok.org Git - libsigrokdecode.git/commitdiff
Fix inverted condition on decoder check
authorBert Vermeulen <redacted>
Mon, 18 Nov 2013 00:33:54 +0000 (01:33 +0100)
committerBert Vermeulen <redacted>
Mon, 18 Nov 2013 00:33:54 +0000 (01:33 +0100)
tests/check_decoder.c

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