* [PATCH] t/t7810-grep.sh: remove duplicate test_config()
@ 2014-06-05 5:18 Jeremiah Mahler
0 siblings, 0 replies; only message in thread
From: Jeremiah Mahler @ 2014-06-05 5:18 UTC (permalink / raw)
To: git; +Cc: Jeremiah Mahler
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 <jmmahler@gmail.com>
---
t/t7810-grep.sh | 5 -----
1 file changed, 5 deletions(-)
diff --git a/t/t7810-grep.sh b/t/t7810-grep.sh
index 63b3039..40615de 100755
--- a/t/t7810-grep.sh
+++ b/t/t7810-grep.sh
@@ -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>{
--
2.0.0.153.g79dcccc
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-06-05 5:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-05 5:18 [PATCH] t/t7810-grep.sh: remove duplicate test_config() Jeremiah Mahler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).