diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-04-08 17:04:20 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-04-08 12:19:10 -0700 |
commit | 132bf259890c1f5b29befcc68e9ed225187ca9f6 (patch) | |
tree | 0690ed5c3b4b1001aba6c70904780dc389626a2f | |
parent | userdiff: add and use for_each_userdiff_driver() (diff) | |
download | tgif-132bf259890c1f5b29befcc68e9ed225187ca9f6.tar.xz |
userdiff tests: explicitly test "default" pattern
Since 122aa6f9c0 (diff: introduce diff.<driver>.binary, 2008-10-05)
the internals of the userdiff.c code have understood a "default" name,
which is invoked as userdiff_find_by_name("default") and present in
the "builtin_drivers" struct. Let's test for this special case.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-x | t/t4018-diff-funcname.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t4018-diff-funcname.sh b/t/t4018-diff-funcname.sh index 9675bc17db..cefe329aea 100755 --- a/t/t4018-diff-funcname.sh +++ b/t/t4018-diff-funcname.sh @@ -49,6 +49,7 @@ diffpatterns=" ruby rust tex + default custom1 custom2 custom3 |