X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libtest%2Ftest.h;h=42443d9ac17cf5f52acc7b1b3d96f85f7ba4eb0b;hb=5c09a7ed2edbb9876493f30d59433331b63f6bfc;hp=117e59ceaca767965fa88bb602116d92c366d24d;hpb=a7df49566dd006c5725eabcd11aab958cf8e5600;p=m6w6%2Flibmemcached diff --git a/libtest/test.h b/libtest/test.h index 117e59ce..42443d9a 100644 --- a/libtest/test.h +++ b/libtest/test.h @@ -196,7 +196,7 @@ do \ #define test_compare_got(__expected, __actual, __hint) \ do \ { \ - if (not libtest::_compare_hint(__FILE__, __LINE__, __func__, (__expected), (__actual), (__hint))) \ + if (libtest::_compare_hint(__FILE__, __LINE__, __func__, (__expected), (__actual), (__hint)) == false) \ { \ libtest::create_core(); \ return TEST_FAILURE; \