Skip to content

Commit 159f4b9

Browse files
felipecgitster
authored andcommitted
test: rev-parse-upstream: add missing cmp
It seems pretty clear 5236fce (t1507: stop losing return codes of git commands, 2019-12-20) missed a test_cmp. Cc: Denton Liu <[email protected]> Signed-off-by: Felipe Contreras <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent a93cbe8 commit 159f4b9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

t/t1507-rev-parse-upstream.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ test_expect_success 'my-side@{u} resolves to correct commit' '
9797
commit_subject my-side >actual &&
9898
test_cmp expect actual &&
9999
echo 5 >expect &&
100-
commit_subject my-side@{u} >actual
100+
commit_subject my-side@{u} >actual &&
101+
test_cmp expect actual
101102
'
102103

103104
test_expect_success 'not-tracking@{u} fails' '

0 commit comments

Comments
 (0)