Skip to content

Commit 2ba31eb

Browse files
newrengitster
authored andcommitted
t6006, t6012: adjust tests to use 'setup' instead of synonyms
With the new ability to pass --run=setup to select which tests to run, it is more convenient if tests use the term "setup" instead of synonyms like 'prepare' or 'rebuild'. There are undoubtedly many other tests in our testsuite that could be changed over too, these are just a couple that I ran into. Signed-off-by: Elijah Newren <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f21ac36 commit 2ba31eb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

t/t6006-rev-list-format.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ commit $head1
339339
.. (hinzugef${added_utf8_part_iso88591}gt) foo
340340
EOF
341341

342-
test_expect_success 'prepare expected messages (for test %b)' '
342+
test_expect_success 'setup expected messages (for test %b)' '
343343
cat <<-EOF >expected.utf-8 &&
344344
commit $head3
345345
This commit message is much longer than the others,

t/t6012-rev-list-simplify.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ test_expect_success '--full-diff is not affected by --parents' '
168168
#
169169
# This example is explained in Documentation/rev-list-options.txt
170170

171-
test_expect_success 'rebuild repo' '
171+
test_expect_success 'setup rebuild repo' '
172172
rm -rf .git * &&
173173
git init &&
174174
git switch -c topic &&

0 commit comments

Comments
 (0)