This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Integrate:
[perl5.git]
/
ext
/
threads
/
shared
/
t
/
cond.t
diff --git
a/ext/threads/shared/t/cond.t
b/ext/threads/shared/t/cond.t
index
8c482cc
..
82fa886
100644
(file)
--- a/
ext/threads/shared/t/cond.t
+++ b/
ext/threads/shared/t/cond.t
@@
-27,8
+27,9
@@
my $Base = 0;
sub ok {
my ($offset, $bool, $text) = @_;
- print "not " unless $bool;
- print "ok ", $Base + $offset, " - $text\n";
+ my $not = '';
+ $not = "not " unless $bool;
+ print "${not}ok " . ($Base + $offset) . " - $text\n";
}
# test locking