* [PATCH v4 4/4] t7800: "defaults" is no longer a builtin tool name
@ 2013-02-21 23:32 David Aguilar
2013-02-21 23:49 ` Junio C Hamano
0 siblings, 1 reply; 2+ messages in thread
From: David Aguilar @ 2013-02-21 23:32 UTC (permalink / raw)
To: Junio C Hamano; +Cc: git, Jonathan Nieder
073678b8e6324a155fa99f40eee0637941a70a34 reworked the
mergetools/ directory so that every file corresponds to a
difftool-supported tool. When this happened the "defaults"
file went away as it was no longer needed by mergetool--lib.
t7800 tests that configured commands can override builtins,
but this test was not adjusted when the "defaults" file was
removed because the test continued to pass.
Adjust the test to use the everlasting "vimdiff" tool name
instead of "defaults" so that it correctly tests against a tool
that is known by mergetool--lib.
Signed-off-by: David Aguilar <davvid@gmail.com>
---
Replacement patch to fix my botched rebase.
t/t7800-difftool.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/t/t7800-difftool.sh b/t/t7800-difftool.sh
index fb00273..3aab6e1 100755
--- a/t/t7800-difftool.sh
+++ b/t/t7800-difftool.sh
@@ -60,9 +60,9 @@ test_expect_success PERL 'custom commands' '
'
test_expect_success PERL 'custom tool commands override built-ins' '
- test_config difftool.defaults.cmd "cat \"\$REMOTE\"" &&
+ test_config difftool.vimdiff.cmd "cat \"\$REMOTE\"" &&
echo master >expect &&
- git difftool --tool defaults --no-prompt branch >actual &&
+ git difftool --tool vimdiff --no-prompt branch >actual &&
test_cmp expect actual
'
--
1.8.2.rc0.20.gf548dd7
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-02-21 23:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-21 23:32 [PATCH v4 4/4] t7800: "defaults" is no longer a builtin tool name David Aguilar
2013-02-21 23:49 ` Junio C Hamano
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).