tests: fix parser test with config file
[awesomized/libmemcached] / libtest / test.h
index 78cdb4e444ebfbbce220e5bd2ba9c55a06f83367..3c3c37d1b0d10e97ca1d0821e3631b554416d25a 100644 (file)
@@ -40,6 +40,8 @@
 #pragma GCC diagnostic ignored "-Wold-style-cast"
 #endif
 
+#include <libtest/lite.h>
+
 /**
   A structure describing the test case.
 */
@@ -61,17 +63,6 @@ do \
   } \
 } while (0)
 
-#define test_assert(A, B) \
-do \
-{ \
-  if ((A)) { \
-    fprintf(stderr, "\n%s:%d: Assertion failed %s, with message %s, in %s", __FILE__, __LINE__, (B), #A, __func__ );\
-    fprintf(stderr, "\n"); \
-    libtest::create_core(); \
-    assert((A)); \
-  } \
-} while (0)
-
 #define test_truth(A) \
 do \
 { \