Skip to content

Commit f950e89

Browse files
kyleamgitster
authored andcommitted
t1400: rename test descriptions to be unique
A few tests share their description with another test. Extend the descriptions to indicate how the tests differ. Signed-off-by: Kyle Meyer <[email protected]> Reviewed-by: Jeff King <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent c0f9c70 commit f950e89

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

t/t1400-update-ref.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ test_expect_success \
4040
"git update-ref $m $A &&
4141
test $A"' = $(cat .git/'"$m"')'
4242
test_expect_success \
43-
"create $m" \
43+
"create $m with oldvalue verification" \
4444
"git update-ref $m $B $A &&
4545
test $B"' = $(cat .git/'"$m"')'
4646
test_expect_success "fail to delete $m with stale ref" '
@@ -72,7 +72,7 @@ test_expect_success \
7272
"git update-ref HEAD $A &&
7373
test $A"' = $(cat .git/'"$m"')'
7474
test_expect_success \
75-
"create $m (by HEAD)" \
75+
"create $m (by HEAD) with oldvalue verification" \
7676
"git update-ref HEAD $B $A &&
7777
test $B"' = $(cat .git/'"$m"')'
7878
test_expect_success "fail to delete $m (by HEAD) with stale ref" '
@@ -307,7 +307,7 @@ $A $B $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> 1117150260 +0000 Switch
307307
$B $A $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> 1117150860 +0000
308308
EOF
309309
test_expect_success \
310-
"verifying $m's log" \
310+
"verifying $m's log (logged by touch)" \
311311
"test_cmp expect .git/logs/$m"
312312
rm -rf .git/$m .git/logs expect
313313

@@ -338,7 +338,7 @@ $A $B $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> 1117150380 +0000 Switch
338338
$B $A $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> 1117150980 +0000
339339
EOF
340340
test_expect_success \
341-
"verifying $m's log" \
341+
"verifying $m's log (logged by config)" \
342342
'test_cmp expect .git/logs/$m'
343343
rm -f .git/$m .git/logs/$m expect
344344

0 commit comments

Comments
 (0)