about summary refs log tree commit homepage
path: root/t/feed.t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-04-25 11:52:44 +0000
committerEric Wong <e@80x24.org>2016-04-25 12:01:10 +0000
commite631b6bd914d8fb6826f1d8f8352785e53961048 (patch)
tree210d5973c3a9730dd2beaeef710bb3a9b73989ce /t/feed.t
parentd4aeca9a1707c02612e9c74184354531866b89f7 (diff)
downloadpublic-inbox-e631b6bd914d8fb6826f1d8f8352785e53961048.tar.gz
While we're at it, update some references to ssoma in the
Makefile.PL comment.
Diffstat (limited to 't/feed.t')
-rw-r--r--t/feed.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/feed.t b/t/feed.t
index 906552e5..61f0dc72 100644
--- a/t/feed.t
+++ b/t/feed.t
@@ -33,7 +33,8 @@ sub rand_use ($) {
                 }
                 $SSOMA{$cmd} = $x;
         }
-        (($x > 0 && (int(rand(10)) % 2) == 1) || $x < 0);
+        return if $x < 0;
+        ($x > 0 && (int(rand(10)) % 2) == 1);
 }
 
 my $tmpdir = tempdir('pi-feed-XXXXXX', TMPDIR => 1, CLEANUP => 1);