]> granicus.if.org Git - check/commitdiff
replace unnecessary mention of deprecated fail_unless in check.h with ck_assert
authorbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Thu, 8 Nov 2012 04:51:59 +0000 (04:51 +0000)
committerbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Thu, 8 Nov 2012 04:51:59 +0000 (04:51 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@667 64e312b2-a51f-0410-8e61-82d0ca0eb02a

src/check.h.in

index 2c612a090c851c80f0fa87562b7d6c3c6c2081fa..2fbb9a5f0cc926cd8da3b4ff09ed7b0a05203a99 100644 (file)
@@ -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 { \