]> git.99rst.org Git - git.git/commitdiff
userdiff tests: explicitly test "default" pattern
authorÆvar Arnfjörð Bjarmason <redacted>
Thu, 8 Apr 2021 15:04:20 +0000 (17:04 +0200)
committerJunio C Hamano <redacted>
Thu, 8 Apr 2021 19:19:10 +0000 (12:19 -0700)
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t4018-diff-funcname.sh

index 9675bc17db276a51b1c5dc1b64ff1e94e1b0fc09..cefe329aea7702120036a485c0072acab96e5d11 100755 (executable)
@@ -49,6 +49,7 @@ diffpatterns="
        ruby
        rust
        tex
+       default
        custom1
        custom2
        custom3
git clone https://git.99rst.org/PROJECT