t4018,7810,7811: remove test_config() redefinition
[gitweb.git] / t / t7810-grep.sh
index 3021cf251c96833a815c5de707d794ba2e07774b..b33b7ba6d0c29160abe132ebe4acfdee17c8bce8 100755 (executable)
@@ -861,11 +861,6 @@ test_expect_success LIBPCRE 'grep -G -F -E -P pattern' '
        test_cmp expected actual
 '
 
-test_config() {
-       git config "$1" "$2" &&
-       test_when_finished "git config --unset $1"
-}
-
 cat >expected <<EOF
 hello.c<RED>:<RESET>int main(int argc, const char **argv)
 hello.c<RED>-<RESET>{