From: Junio C Hamano Date: Tue, 11 Mar 2025 21:25:00 +0000 (-0700) Subject: t: document test_lazy_prereq X-Git-Tag: v2.50.0-rc0~153^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ab362fc6f4cf795a8e3e868cb6fc3ae0102c8d42;p=thirdparty%2Fgit.git t: document test_lazy_prereq The t/README file talked about test_set_prereq but lacked explanation on test_lazy_prereq, which is a more modern way to define prerequisites. Signed-off-by: Junio C Hamano --- diff --git a/t/README b/t/README index 53e5b4a710..3ce9f5a393 100644 --- a/t/README +++ b/t/README @@ -818,7 +818,7 @@ Skipping tests -------------- If you need to skip tests you should do so by using the three-arg form -of the test_* functions (see the "Test harness library" section +of the test_expect_* functions (see the "Test harness library" section below), e.g.: test_expect_success PERL 'I need Perl' ' @@ -965,6 +965,27 @@ see test-lib-functions.sh for the full list and their options. test_done fi + - test_lazy_prereq