t5520: reduce commom lines of code
authorMehul Jain <mehul.jain2029@gmail.com>
Sat, 2 Apr 2016 17:58:31 +0000 (23:28 +0530)
committerJunio C Hamano <gitster@pobox.com>
Mon, 4 Apr 2016 18:15:01 +0000 (11:15 -0700)
These two tests are almost similar and thus can be folded in a for-loop.

Helped-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Mehul Jain <mehul.jain2029@gmail.com>
Reviewed-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found