Skip to content

Commit dce6818

Browse files
jmahlergitster
authored andcommitted
t/t7810-grep.sh: remove duplicate 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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent bce14aa commit dce6818

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

t/t7810-grep.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1096,11 +1096,6 @@ test_expect_success 'grep -E pattern with grep.patternType=fixed' '
10961096
test_cmp expected actual
10971097
'
10981098

1099-
test_config() {
1100-
git config "$1" "$2" &&
1101-
test_when_finished "git config --unset $1"
1102-
}
1103-
11041099
cat >expected <<EOF
11051100
hello.c<RED>:<RESET>int main(int argc, const char **argv)
11061101
hello.c<RED>-<RESET>{

0 commit comments

Comments
 (0)