1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-10-28 21:07:52 +01:00

t7004: one command per line

One of the tests in t7004 has multiple commands on a single line,
which is discouraged. Adapt these by splitting up these into one
line per command.

Signed-off-by: AbdAlRahman Gad <abdobngad@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
AbdAlRahman Gad 2024-08-08 19:32:01 +03:00 committed by Junio C Hamano
parent ea62c4f947
commit 95fc11b6fd

View file

@ -213,9 +213,11 @@ mytag
EOF
test_expect_success \
'trying to delete tags without params should succeed and do nothing' '
git tag -l >actual && test_cmp expect actual &&
git tag -l >actual &&
test_cmp expect actual &&
git tag -d &&
git tag -l >actual && test_cmp expect actual
git tag -l >actual &&
test_cmp expect actual
'
test_expect_success \