Skip to content

Commit

Permalink
Merge branch 'rr/tests-dedup-test-config'
Browse files Browse the repository at this point in the history
* rr/tests-dedup-test-config:
  t4018,7810,7811: remove test_config() redefinition
  • Loading branch information
Junio C Hamano committed Mar 28, 2013
2 parents f893be2 + 3f21fb9 commit 4806c8c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions t/t4018-diff-funcname.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
5 changes: 0 additions & 5 deletions t/t7811-grep-open.sh
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,6 @@ test_expect_success 'modified file' '
test_cmp empty out
'

test_config() {
git config "$1" "$2" &&
test_when_finished "git config --unset $1"
}

test_expect_success 'copes with color settings' '
rm -f actual &&
echo grep.h >expect &&
Expand Down

0 comments on commit 4806c8c

Please sign in to comment.