Skip to content

Commit 132bf25

Browse files
avargitster
authored andcommitted
userdiff tests: explicitly test "default" pattern
Since 122aa6f (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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f12fa9e commit 132bf25

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

t/t4018-diff-funcname.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ diffpatterns="
4949
ruby
5050
rust
5151
tex
52+
default
5253
custom1
5354
custom2
5455
custom3

0 commit comments

Comments
 (0)