Skip to content

Commit 95fc11b

Browse files
AbdAlRahmanGadgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent ea62c4f commit 95fc11b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

t/t7004-tag.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,9 +213,11 @@ mytag
213213
EOF
214214
test_expect_success \
215215
'trying to delete tags without params should succeed and do nothing' '
216-
git tag -l >actual && test_cmp expect actual &&
216+
git tag -l >actual &&
217+
test_cmp expect actual &&
217218
git tag -d &&
218-
git tag -l >actual && test_cmp expect actual
219+
git tag -l >actual &&
220+
test_cmp expect actual
219221
'
220222

221223
test_expect_success \

0 commit comments

Comments
 (0)