[PATCH v3 11/9] t7800: add test for difftool --tool-help
Signed-off-by: Tim Henigan <tim.henigan@gmail.com>
---
t/t7800-difftool.sh | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/t/t7800-difftool.sh b/t/t7800-difftool.sh
index dc181cf..663247c 100755
--- a/t/t7800-difftool.sh
+++ b/t/t7800-difftool.sh
@@ -300,4 +300,9 @@ test_expect_success PERL 'say no to the second file' '
echo "$diff" | stdin_doesnot_contain br2
'
+test_expect_success PERL 'difftool --tool-help' '
+ tool_help=$(git difftool --tool-help) &&
+ echo "$tool_help" | stdin_contains tool
+'
+
test_done
--
1.7.10.rc1.39.g6e141f