test-pkt-line: drop colon from sideband identity

We pass "sideband: " as our identity for errors to recv_sideband(). But
it already adds the trailing colon and space. This doesn't invalidate
any tests, but it looks funny when you examine the test output.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Jeff King 2020-10-27 03:13:09 -04:00 коммит произвёл Junio C Hamano
Родитель 8e86cf6581
Коммит 712b0377db
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -100,7 +100,7 @@ static int send_split_sideband(void)
static int receive_sideband(void)
{
return recv_sideband("sideband: ", 0, 1);
return recv_sideband("sideband", 0, 1);
}
int cmd__pkt_line(int argc, const char **argv)