about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--t/nntpd.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/nntpd.t b/t/nntpd.t
index a3d974cf..14db1a93 100644
--- a/t/nntpd.t
+++ b/t/nntpd.t
@@ -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:
         {