Skip to content

Commit 806d5e9

Browse files
Kirill Smelkovgitster
authored andcommitted
mailinfo: add explicit test for mails like '<[email protected]> (A U Thor)'
Signed-off-by: Kirill Smelkov <[email protected]>
1 parent ddfb369 commit 806d5e9

File tree

5 files changed

+11
-1
lines changed

5 files changed

+11
-1
lines changed

t/t5100-mailinfo.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ test_expect_success 'split sample box' \
1111
'git mailsplit -o. ../t5100/sample.mbox >last &&
1212
last=`cat last` &&
1313
echo total is $last &&
14-
test `cat last` = 12'
14+
test `cat last` = 13'
1515

1616
for mail in `echo 00*`
1717
do

t/t5100/info0013

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Author: A U Thor
2+
3+
Subject: a patch
4+
Date: Fri, 9 Jun 2006 00:44:16 -0700
5+

t/t5100/msg0013

Whitespace-only changes.

t/t5100/patch0013

Whitespace-only changes.

t/t5100/sample.mbox

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,3 +556,8 @@ index 3fd3afb..0ee807e 100644
556556
#. на своей машине: отредактировать /etc/sudoers (команда ``visudo``) примерно следующим образом::
557557
--
558558
1.5.6.5
559+
From nobody Mon Sep 17 00:00:00 2001
560+
From: <[email protected]> (A U Thor)
561+
Date: Fri, 9 Jun 2006 00:44:16 -0700
562+
Subject: [PATCH] a patch
563+

0 commit comments

Comments
 (0)