summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremiah Mahler <jmmahler@gmail.com>2014-06-04 22:18:18 -0700
committerJunio C Hamano <gitster@pobox.com>2014-06-05 11:56:01 -0700
commitdce6818d104282bd6172de50165ee75a24465b8d (patch)
tree882a26b0cce32f040828c443d11fecefd9e5fe01
parentbce14aa132e0064d9a9b1c7ad98e71e22c6e0272 (diff)
downloadgit-jm/dedup-test-config.tar.gz
t/t7810-grep.sh: remove duplicate test_config()jm/dedup-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>
-rwxr-xr-xt/t7810-grep.sh5
1 files changed, 0 insertions, 5 deletions
diff --git a/t/t7810-grep.sh b/t/t7810-grep.sh
index 63b3039243..40615debc4 100755
--- a/t/t7810-grep.sh
+++ b/t/t7810-grep.sh
@@ -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>{