summaryrefslogtreecommitdiff
path: root/t/t4018-diff-funcname.sh
diff options
context:
space:
mode:
authorRamkumar Ramachandra <artagnon@gmail.com>2013-03-19 10:43:14 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-03-19 16:10:15 (GMT)
commit3f21fb99ab5335146617f21b885dc41afc7943d6 (patch)
tree2586d6ea05fd179a8bf88e4164a43e20cea203d2 /t/t4018-diff-funcname.sh
parent7e2010537e96d0a1144520222f20ba1dc3d61441 (diff)
downloadgit-3f21fb99ab5335146617f21b885dc41afc7943d6.zip
git-3f21fb99ab5335146617f21b885dc41afc7943d6.tar.gz
git-3f21fb99ab5335146617f21b885dc41afc7943d6.tar.bz2
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>
Diffstat (limited to 't/t4018-diff-funcname.sh')
-rwxr-xr-xt/t4018-diff-funcname.sh5
1 files changed, 0 insertions, 5 deletions
diff --git a/t/t4018-diff-funcname.sh b/t/t4018-diff-funcname.sh
index 4bd2a1c..9b5db6c 100755
--- a/t/t4018-diff-funcname.sh
+++ b/t/t4018-diff-funcname.sh
@@ -93,11 +93,6 @@ sed -e '
s/song;/song();/
' <Beer.perl >Beer-correct.perl
-test_config () {
- git config "$1" "$2" &&
- test_when_finished "git config --unset $1"
-}
-
test_expect_funcname () {
lang=${2-java}
test_expect_code 1 git diff --no-index -U1 \