diff options
| author | Junio C Hamano <gitster@pobox.com> | 2024-08-16 12:50:56 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-08-16 12:50:56 -0700 |
| commit | e6698fbfa9d78687304b6e95170b068bbf7e74f4 (patch) | |
| tree | d087958284c2a489992beb92575b44d9fa2ee4c9 | |
| parent | 2ad2f2f7516701b8a76ae8389e6f6867ca21cefb (diff) | |
| parent | 6e71d6ac7cb575d04c452762662b00a89cd0b0db (diff) | |
| download | git-e6698fbfa9d78687304b6e95170b068bbf7e74f4.tar.gz | |
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
| -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), \ |
