[PATCH 08/11] t6301: do not expect the output of `for-each-ref` to be translated
- From
Johannes Schindelin via GitGitGadget <gitgitgadget@gmail.com>
- Date
- Jan 12, 2021, 08:47 UTC
- Message-ID
- <82e38c68f4406cb5bbaea3b4102b33097e29ea67.1610441263.git.gitgitgadget@gmail.com>
- In-Reply-To
- <pull.836.git.1610441262.gitgitgadget@gmail.com>
From: Johannes Schindelin <johannes.schindelin@gmx.de>
The `test_i18ncmp` function is reserved for output that we expect to be translated.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> --- t/t6301-for-each-ref-errors.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/t6301-for-each-ref-errors.sh b/t/t6301-for-each-ref-errors.sh index 809854fc0ce..0cf2a41c26c 100755 --- a/t/t6301-for-each-ref-errors.sh +++ b/t/t6301-for-each-ref-errors.sh @@ -20,7 +20,7 @@ test_expect_success 'Broken refs are reported correctly' ' test_when_finished "rm -f .git/$r" && echo "warning: ignoring broken ref $r" >broken-err && git for-each-ref >out 2>err && - test_i18ncmp full-list out && + test_cmp full-list out && test_i18ncmp broken-err err '
-- gitgitgadget