From: Fernando Ramos Date: Wed, 30 Mar 2022 19:19:07 +0000 (+0200) Subject: vimdiff: integrate layout tests in the unit tests framework ('t' folder) X-Git-Tag: v2.37.0-rc0~100^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a242c150ebb;p=thirdparty%2Fgit.git vimdiff: integrate layout tests in the unit tests framework ('t' folder) Create a new test case file for the different available merge tools. Right now it only tests the 'mergetool.vimdiff.layout' option. Other merge tools might be interested in adding their own tests here too. Signed-off-by: Fernando Ramos Signed-off-by: Junio C Hamano --- diff --git a/t/t7609-mergetool--lib.sh b/t/t7609-mergetool--lib.sh new file mode 100755 index 0000000000..d848fe6442 --- /dev/null +++ b/t/t7609-mergetool--lib.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +test_description='git mergetool + +Testing basic merge tools options' + +. ./test-lib.sh + +test_expect_success 'mergetool --tool=vimdiff creates the expected layout' ' + . $GIT_BUILD_DIR/mergetools/vimdiff && + run_unit_tests +' + +test_done