From: Johannes Schindelin <redacted>
They might, or might not be 'translated'. Let's not assume that they
aren't marked with `_()` for translation.
Signed-off-by: Johannes Schindelin <redacted>
---
t/helper/test-i18n.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/helper/test-i18n.c b/t/helper/test-i18n.c
index 8a16df6b40f..82efc66f1f5 100644
--- a/t/helper/test-i18n.c
+++ b/t/helper/test-i18n.c
@@ -52,7 +52,7 @@ static void unrot13_strbuf(struct strbuf *buf)
{
size_t len = unrot13(buf->buf);
- if (len == buf->len)
+ if (len && len == buf->len)
die("not ROT13'ed:\n%s", buf->buf);
buf->len = len;
}--
gitgitgadget