about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2024-01-09 11:39:25 +0000
committerEric Wong <e@80x24.org>2024-01-10 10:26:57 +0000
commitdbdc0b877f0c8f04ad8eb107cfbb17897d33391b (patch)
tree7deefc4e1251ae4224f03deb7ec1a44259e9cfb7
parent4c2fc911c858812aa3c009117787389f95622247 (diff)
downloadpublic-inbox-dbdc0b877f0c8f04ad8eb107cfbb17897d33391b.tar.gz
I noticed this when I wrote a new (but probably unnecessary) *.t
test and `make check-run' failed since I omitted the final
semi-colon after `done_testing'.
-rw-r--r--lib/PublicInbox/TestCommon.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/TestCommon.pm b/lib/PublicInbox/TestCommon.pm
index d20bff28..25caaaa9 100644
--- a/lib/PublicInbox/TestCommon.pm
+++ b/lib/PublicInbox/TestCommon.pm
@@ -342,7 +342,7 @@ use subs qw(exit);
 sub main {
 # the below "line" directive is a magic comment, see perlsyn(1) manpage
 # line 1 "$f"
-$str
+{ $str }
         0;
 }
 1;