diff options
author | Eric Wong <e@80x24.org> | 2020-09-11 07:32:32 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2020-09-12 20:29:12 +0000 |
commit | 08d255595a7a0ab469ff31d9865229331b545cd6 (patch) | |
tree | b4a4a5b502ae694110debb0b9280aa70d0f2c582 | |
parent | d11feea98718f2abb109af4216a36bdbd21b7191 (diff) | |
download | public-inbox-08d255595a7a0ab469ff31d9865229331b545cd6.tar.gz |
It's only in RFC 2980 (not 977 or 3977), but Net::NNTP has supported it since 2001, at least. We'll be making changes to avoid pathological behavior, so test it, first.
-rw-r--r-- | t/nntpd.t | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -295,6 +295,8 @@ Date: Fri, 02 Oct 1993 00:00:00 +0000 'cross newsgroup BODY by Message-ID'); ok($n->head('<testmessage@example.com>'), 'cross newsgroup HEAD by Message-ID'); + is($n->xpath('<testmessage@example.com>'), 'x.y.z/1', 'xpath hit'); + is($n->xpath('<non-existent@example.com>'), undef, 'xpath miss'); # pipelined requests: { |