Skip to content

Commit e6698fb

Browse files
committed
Merge branch 'ks/unit-test-comment-typofix' into maint-2.46
Typofix. * ks/unit-test-comment-typofix: unit-tests/test-lib: fix typo in check_pointer_eq() description
2 parents 2ad2f2f + 6e71d6a commit e6698fb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

t/unit-tests/test-lib.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,9 @@ int test_assert(const char *location, const char *check, int ok);
7676
int check_bool_loc(const char *loc, const char *check, int ok);
7777

7878
/*
79-
* Compare two integers. Prints a message with the two values if the
80-
* comparison fails. NB this is not thread safe.
79+
* Compare the equality of two pointers of same type. Prints a message
80+
* with the two values if the equality fails. NB this is not thread
81+
* safe.
8182
*/
8283
#define check_pointer_eq(a, b) \
8384
(test__tmp[0].p = (a), test__tmp[1].p = (b), \

0 commit comments

Comments
 (0)