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
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
525270e
)
Make new tie test less noisy
author
Rafael Garcia-Suarez
<rgs@consttype.org>
Fri, 30 Jul 2010 12:22:33 +0000
(14:22 +0200)
committer
Rafael Garcia-Suarez
<rgs@consttype.org>
Fri, 30 Jul 2010 12:22:33 +0000
(14:22 +0200)
t/op/tie_fetch_count.t
patch
|
blob
|
blame
|
history
diff --git
a/t/op/tie_fetch_count.t
b/t/op/tie_fetch_count.t
index
d8186e6
..
42f8474
100644
(file)
--- a/
t/op/tie_fetch_count.t
+++ b/
t/op/tie_fetch_count.t
@@
-24,8
+24,7
@@
sub STORE {1;}
sub check_count {
my $op = shift;
sub check_count {
my $op = shift;
- ok $count == 1, "FETCH called just once using '$op'",
- "FETCH called $count times";
+ is $count, 1, "FETCH called just once using '$op'";
$count = 0;
}
$count = 0;
}