mirror of
https://github.com/git/git
synced 2024-09-29 21:27:13 +00:00
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
This commit is contained in:
commit
e6698fbfa9
|
@ -76,8 +76,9 @@ int test_assert(const char *location, const char *check, int ok);
|
|||
int check_bool_loc(const char *loc, const char *check, int ok);
|
||||
|
||||
/*
|
||||
* Compare two integers. Prints a message with the two values if the
|
||||
* comparison fails. NB this is not thread safe.
|
||||
* Compare the equality of two pointers of same type. Prints a message
|
||||
* with the two values if the equality fails. NB this is not thread
|
||||
* safe.
|
||||
*/
|
||||
#define check_pointer_eq(a, b) \
|
||||
(test__tmp[0].p = (a), test__tmp[1].p = (b), \
|
||||
|
|
Loading…
Reference in a new issue