t/t7810-grep.sh: remove duplicate test_config()

t/t7810-grep.sh had its own test_config() function which served the same purpose as the one in t/test-lib-functions.sh. Removed, all tests pass. Signed-off-by: Jeremiah Mahler <jmmahler@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jeremiah Mahler committed Jun 4, 2014 at 22:18 UTC dce6818d104282bd6172de50165ee75a24465b8d
1 file changed -5
t/t7810-grep.sh
-5
@@ -1096,11 +1096,6 @@ test_expect_success 'grep -E pattern with grep.patternType=fixed' '
1096 test_cmp expected actual
1097 '
1098
1099 -test_config() {
1100 - git config "$1" "$2" &&
1101 - test_when_finished "git config --unset $1"
1102 -}
1103 -
1099 cat >expected <<EOF
1100 hello.c<RED>:<RESET>int main(int argc, const char **argv)
1101 hello.c<RED>-<RESET>{