From: brarcher Date: Thu, 8 Nov 2012 04:51:59 +0000 (+0000) Subject: replace unnecessary mention of deprecated fail_unless in check.h with ck_assert X-Git-Tag: 0.10.0~513 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d75e66a91c52f3d0d5df81dbaa535cb238f45bb8;p=check replace unnecessary mention of deprecated fail_unless in check.h with ck_assert git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@667 64e312b2-a51f-0410-8e61-82d0ca0eb02a --- diff --git a/src/check.h.in b/src/check.h.in index 2c612a0..2fbb9a5 100644 --- a/src/check.h.in +++ b/src/check.h.in @@ -273,7 +273,7 @@ void CK_EXPORT _ck_assert_msg (int result, const char *file, #define ck_abort() ck_abort_msg(NULL) #define ck_abort_msg(...) _ck_assert_msg(0, __FILE__, __LINE__, "Failed" , ## __VA_ARGS__, NULL) -/* Integer comparsion macros with improved output compared to fail_unless(). */ +/* Integer comparsion macros with improved output compared to ck_assert(). */ /* OP may be any comparion operator. */ #define _ck_assert_int(X, OP, Y) do { \ int _ck_x = (X); \ @@ -287,7 +287,7 @@ void CK_EXPORT _ck_assert_msg (int result, const char *file, #define ck_assert_int_gt(X, Y) _ck_assert_int(X, >, Y) #define ck_assert_int_ge(X, Y) _ck_assert_int(X, >=, Y) -/* String comparsion macros with improved output compared to fail_unless() */ +/* String comparsion macros with improved output compared to ck_assert() */ /* OP might be any operator that can be used in '0 OP strcmp(X,Y)' comparison */ /* The x and y parameter swap in strcmp() is needed to handle >, >=, <, <= operators */ #define _ck_assert_str(X, OP, Y) do { \