Re: [PATCH] userdiff: add builtin diff driver for Kotlin language.
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Mar 1, 2022, 19:59 UTC
- Message-ID
- <1480c08e-940b-cc7e-9e92-5fe3b951d34a@kdbg.org>
- In-Reply-To
- <c59383e0-d549-d198-f358-18153f18d24b@gmail.com>
Am 01.03.22 um 19:09 schrieb jaydeepjd.8914@gmail.com:
Show 11 quoted lines
> When any test fails, its verbose output is not "verbose" enough.
> For example, If due to wrong xfuncname regex or wrong test, all of the
> following hunk headers
>
> @@...@@
> @@...@@fun right(){
> @@...@@fun
>
> produce the same verbose output:
>
> `not ok:....hunk header:[testfilename]`You run
./t4018-diff-funcname.sh -v -i
which stops at the first failing test case. You get
expecting success of 4018.160 'hunk header: kotlin-interface':
git diff -U1 kotlin-interface >actual &&
grep '@@ .* @@.*RIGHT' actualnot ok 160 - hunk header: kotlin-interface # # git diff -U1 kotlin-interface >actual && # grep '@@ .* @@.*RIGHT' actual #
from which you see that you have to inspect the file actual:
less trash\ directory.t4018-diff-funcname/actual
-- Hannes