Skip to content

Commit 7f9c59d

Browse files
szedergitster
authored andcommitted
tests: fix description of 'test_set_prereq'
'test_set_prereq's description claims that prereqs can be specified to 'test_expect_code', but that is not the case (it is not meant to run a test _case_, but a git command), so remove it. OTOH that description doesn't mention 'test_external' and 'test_external_without_stderr' that do accept prereqs, so mention them. Signed-off-by: SZEDER Gábor <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 53ff3b9 commit 7f9c59d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/test-lib-functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ write_script () {
423423
# - Explicitly using test_have_prereq.
424424
#
425425
# - Implicitly by specifying the prerequisite tag in the calls to
426-
# test_expect_{success,failure,code}.
426+
# test_expect_{success,failure} and test_external{,_without_stderr}.
427427
#
428428
# The single parameter is the prerequisite tag (a simple word, in all
429429
# capital letters by convention).

0 commit comments

Comments
 (0)