mirror of
https://github.com/git/git
synced 2024-08-27 19:49:21 +00:00
Merge branch 'jm/dedup-test-config'
* jm/dedup-test-config: t/t7810-grep.sh: remove duplicate test_config()
This commit is contained in:
commit
bbfa0cc7f8
|
@ -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>{
|
||||
|
|
Loading…
Reference in a new issue