t/nntpd.t | 2 ++ diff --git a/t/nntpd.t b/t/nntpd.t index a3d974cfd2d92b6b6f1c995e9c720cc6287f0ce7..14db1a93019771426635cecc8fafedd9d2c7c920 100644 --- a/t/nntpd.t +++ b/t/nntpd.t @@ -295,6 +295,8 @@ ok($n->body(''), 'cross newsgroup BODY by Message-ID'); ok($n->head(''), 'cross newsgroup HEAD by Message-ID'); + is($n->xpath(''), 'x.y.z/1', 'xpath hit'); + is($n->xpath(''), undef, 'xpath miss'); # pipelined requests: {