summaryrefslogtreecommitdiff
path: root/t/unit-tests
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-08-08 10:41:17 -0700
committerJunio C Hamano <gitster@pobox.com>2024-08-08 10:41:17 -0700
commitf250b51b49d540980470edc0dc0d171d50ae3a93 (patch)
tree582b4dfa79596b7f1c356e92ffb5a5557e49d100 /t/unit-tests
parent406f326d271e0bacecdb00425422c5fa3f314930 (diff)
parent6e71d6ac7cb575d04c452762662b00a89cd0b0db (diff)
Merge branch 'ks/unit-test-comment-typofix'
Typofix. * ks/unit-test-comment-typofix: unit-tests/test-lib: fix typo in check_pointer_eq() description
Diffstat (limited to 't/unit-tests')
-rw-r--r--t/unit-tests/test-lib.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/t/unit-tests/test-lib.h b/t/unit-tests/test-lib.h
index 2de6d715d5..c59f646fd9 100644
--- a/t/unit-tests/test-lib.h
+++ b/t/unit-tests/test-lib.h
@@ -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), \