Skip to content

Commit 4806c8c

Browse files
committed
Merge branch 'rr/tests-dedup-test-config'
* rr/tests-dedup-test-config: t4018,7810,7811: remove test_config() redefinition
2 parents f893be2 + 3f21fb9 commit 4806c8c

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

t/t4018-diff-funcname.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,6 @@ sed -e '
9393
s/song;/song();/
9494
' <Beer.perl >Beer-correct.perl
9595

96-
test_config () {
97-
git config "$1" "$2" &&
98-
test_when_finished "git config --unset $1"
99-
}
100-
10196
test_expect_funcname () {
10297
lang=${2-java}
10398
test_expect_code 1 git diff --no-index -U1 \

t/t7811-grep-open.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,6 @@ test_expect_success 'modified file' '
125125
test_cmp empty out
126126
'
127127

128-
test_config() {
129-
git config "$1" "$2" &&
130-
test_when_finished "git config --unset $1"
131-
}
132-
133128
test_expect_success 'copes with color settings' '
134129
rm -f actual &&
135130
echo grep.h >expect &&

0 commit comments

Comments
 (0)