]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/plack.t
treewide: run update-copyrights from gnulib for 2019
[public-inbox.git] / t / plack.t
index a9a053ed0db420697840707222e2f6f2f4ace779..fe767aed826cfc02fc1a4d245fee9a4d32fac452 100644 (file)
--- a/t/plack.t
+++ b/t/plack.t
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2019 all contributors <meta@public-inbox.org>
+# Copyright (C) 2014-2020 all contributors <meta@public-inbox.org>
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 use strict;
 use warnings;
@@ -189,6 +189,8 @@ test_psgi($app, sub {
        like($body, qr/<title>test for public-inbox/,
                "set title in XML feed");
        like($body, qr/zzzzzz/, 'body included');
+       $res = $cb->(GET($pfx . '/description'));
+       like($res->content, qr/test for public-inbox/, 'got description');
 });
 
 test_psgi($app, sub {