diff options
author | Eric Wong <e@80x24.org> | 2016-06-14 06:54:57 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-06-14 06:55:25 +0000 |
commit | b6974dbc81665427413020414a668ddb742e68f9 (patch) | |
tree | b8ba966b203fd9cbbd29b4112235f8506c854aaf /t/nntpd.t | |
parent | 37bf2db81bbbe114d7fc5a00e30d3d5a6fa74de5 (diff) | |
download | public-inbox-b6974dbc81665427413020414a668ddb742e68f9.tar.gz |
Or whatever the appropriate Perl terminology, is... And we will need to do something appropriate for other encodings, too. I still barely understand Perl Unicode despite attempting to understand the docs over the years..
Diffstat (limited to 't/nntpd.t')
-rw-r--r-- | t/nntpd.t | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -175,6 +175,8 @@ EOF is_deeply($n->head(1), $n->head('<nntp@example.com>'), 'HEAD OK'); is_deeply($n->body(1), $n->body('<nntp@example.com>'), 'BODY OK'); + is($n->body(1)->[0], "This is a test message for El\xc3\xa9anor\n", + 'body really matches'); my $art = $n->article(1); is(ref($art), 'ARRAY', 'got array for ARTICLE'); is_deeply($art, $n->article('<nntp@example.com>'), 'ARTICLE OK'); |