t4018,7810,7811: remove test_config() redefinition
test_config() is already a well-defined function in test-lib-functions.sh. Don't duplicate it unnecessarily. Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
7e2010537e
commit
3f21fb99ab
@ -125,11 +125,6 @@ test_expect_success 'modified file' '
|
||||
test_cmp empty out
|
||||
'
|
||||
|
||||
test_config() {
|
||||
git config "$1" "$2" &&
|
||||
test_when_finished "git config --unset $1"
|
||||
}
|
||||
|
||||
test_expect_success 'copes with color settings' '
|
||||
rm -f actual &&
|
||||
echo grep.h >expect &&
|
||||
|
Reference in New Issue
Block a user