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 <kyle@kyleam.com> Reviewed-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Kyle Meyer committed
Mar 20, 2017 at 20:56 UTC
f950e89fc4f8e535aa1b8d71eb7b3b80924a5290
1 file changed
+4
-4
t/t1400-update-ref.sh
+4
-4
@@ -40,7 +40,7 @@ test_expect_success \
40
"git update-ref $m $A &&
41
test $A"' = $(cat .git/'"$m"')'
42
test_expect_success \
43
- "create $m" \
43
+ "create $m with oldvalue verification" \
44
"git update-ref $m $B $A &&
45
test $B"' = $(cat .git/'"$m"')'
46
test_expect_success "fail to delete $m with stale ref" '
@@ -72,7 +72,7 @@ test_expect_success \
72
"git update-ref HEAD $A &&
73
test $A"' = $(cat .git/'"$m"')'
74
test_expect_success \
75
- "create $m (by HEAD)" \
75
+ "create $m (by HEAD) with oldvalue verification" \
76
"git update-ref HEAD $B $A &&
77
test $B"' = $(cat .git/'"$m"')'
78
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
307
$B $A $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> 1117150860 +0000
308
EOF
309
test_expect_success \
310
- "verifying $m's log" \
310
+ "verifying $m's log (logged by touch)" \
311
"test_cmp expect .git/logs/$m"
312
rm -rf .git/$m .git/logs expect
313
@@ -338,7 +338,7 @@ $A $B $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> 1117150380 +0000 Switch
338
$B $A $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> 1117150980 +0000
339
EOF
340
test_expect_success \
341
- "verifying $m's log" \
341
+ "verifying $m's log (logged by config)" \
342
'test_cmp expect .git/logs/$m'
343
rm -f .git/$m .git/logs/$m expect
344