t/t7810-grep.sh: remove duplicate test_config()
authorJeremiah Mahler <jmmahler@gmail.com>
Thu, 5 Jun 2014 05:18:18 +0000 (22:18 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 5 Jun 2014 18:56:01 +0000 (11:56 -0700)
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>
t/t7810-grep.sh
index 63b303924307ad3a1d0658ec3b69a3ebf9e5670e..40615debc42479970c6a38565b71227bcf7f27c8 100755 (executable)
@@ -1096,11 +1096,6 @@ test_expect_success 'grep -E pattern with grep.patternType=fixed' '
        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>{