diff options
author | Bert Vermeulen <bert@biot.com> | 2013-11-18 01:33:54 +0100 |
---|---|---|
committer | Bert Vermeulen <bert@biot.com> | 2013-11-18 01:33:54 +0100 |
commit | a8c765481ed4eff56701724f11564a02c8660c03 (patch) | |
tree | 3e65c69c63bf2ecd2dcdaafd2f954f4a40e919f8 /tests | |
parent | e195c025c303e361d0cc5a207f9c9443fb8deced (diff) | |
download | libsigrokdecode-a8c765481ed4eff56701724f11564a02c8660c03.tar.gz libsigrokdecode-a8c765481ed4eff56701724f11564a02c8660c03.zip |
Fix inverted condition on decoder check
Diffstat (limited to 'tests')
-rw-r--r-- | tests/check_decoder.c | 2 |
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 |