diff mbox series

[v4,06/10] userdiff tests: explicitly test "default" pattern

Message ID patch-06.11-862f6ab5d66-20210324T014604Z-avarab@gmail.com (mailing list archive)
State New, archived
Headers show
Series userdiff: refactor + test improvements | expand

Commit Message

Ævar Arnfjörð Bjarmason March 24, 2021, 1:48 a.m. UTC
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>
---
 t/t4018-diff-funcname.sh | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/t/t4018-diff-funcname.sh b/t/t4018-diff-funcname.sh
index 9675bc17db2..cefe329aea7 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