about summary refs log tree commit homepage
path: root/t/plack.t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2022-08-29 09:26:40 +0000
committerEric Wong <e@80x24.org>2022-08-29 19:05:50 +0000
commit94a70f57bf1b449192c9d68637cf985b8d5cfaca (patch)
tree604e2453755d9317f1e9a58c6b723ad4869a2ed8 /t/plack.t
parent0093503cf22570012b3bafcc0130bfac1ea157bf (diff)
downloadpublic-inbox-94a70f57bf1b449192c9d68637cf985b8d5cfaca.tar.gz
{obuf} will eventually go away and we'll write directly to
{zbuf}, but as an intermediate step we'll make some changes
to rely less on return values.

While we're in the area, reuse Linkify objects in more places
where possible to save some allocations.
Diffstat (limited to 't/plack.t')
-rw-r--r--t/plack.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/plack.t b/t/plack.t
index 20f5d8d5..32209c7d 100644
--- a/t/plack.t
+++ b/t/plack.t
@@ -155,7 +155,7 @@ my $c1 = sub {
         is(200, $res->code, "success for $path");
         my $html = $res->content;
         like($html, qr!<title>hihi - Me</title>!, 'HTML returned');
-        like($html, qr!<a\nhref="raw"!s, 'raw link present');
+        like($html, qr!<a\nhref=raw!s, 'raw link present');
         like($html, qr!&gt; quoted text!s, 'quoted text inline');
 
         $path .= 'f/';