From 94a70f57bf1b449192c9d68637cf985b8d5cfaca Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 29 Aug 2022 09:26:40 +0000 Subject: view: cleanups and reuse for {obuf} preparation {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. --- t/plack.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't') 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!hihi - Me!, 'HTML returned'); - like($html, qr!