diff options
author | Junio C Hamano <gitster@pobox.com> | 2024-08-08 19:41:17 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-08-08 19:41:17 +0200 |
commit | f250b51b49d540980470edc0dc0d171d50ae3a93 (patch) | |
tree | 582b4dfa79596b7f1c356e92ffb5a5557e49d100 /t | |
parent | The second batch (diff) | |
parent | unit-tests/test-lib: fix typo in check_pointer_eq() description (diff) | |
download | git-f250b51b49d540980470edc0dc0d171d50ae3a93.tar.xz git-f250b51b49d540980470edc0dc0d171d50ae3a93.zip |
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')
-rw-r--r-- | t/unit-tests/test-lib.h | 5 |
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), \ |