From c567b511f8b2fe4991dc0667aa1f0fa36b083cc7 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Thu, 16 Apr 2020 03:52:35 +0000 Subject: [PATCH] fixed a wrong test macro in t/t.h --- hawk/t/t.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hawk/t/t.h b/hawk/t/t.h index 2c0ca500..9fb72d2c 100644 --- a/hawk/t/t.h +++ b/hawk/t/t.h @@ -8,7 +8,7 @@ # define T_ASSERT_FAIL1(msg1) printf("FAILURE in %s:%s[%d] - %s\n", __FILE__, __func__, (int)__LINE__, msg1) # define T_ASSERT_FAIL2(msg1,msg2) printf("FAILURE in %s:%s[%d] - %s - %s\n", __FILE__, __func__, (int)__LINE__, msg1, msg2) #else -# define T_ASSERT_FAIL1() printf("FAILURE in %s[%d]\n", __FILE__, (int)__LINE__) +# define T_ASSERT_FAIL0() printf("FAILURE in %s[%d]\n", __FILE__, (int)__LINE__) # define T_ASSERT_FAIL1(msg1) printf("FAILURE in %s[%d] - %s\n", __FILE__, (int)__LINE__, msg1) # define T_ASSERT_FAIL2(msg1,msg2) printf("FAILURE in %s[%d] - %s - %s\n", __FILE__, (int)__LINE__, msg1, msg2) #endif