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:
5545454
)
Revert "Un-TODO warning test"
author
Rafael Garcia-Suarez
<rgs@consttype.org>
Thu, 29 Apr 2010 11:02:27 +0000
(13:02 +0200)
committer
Rafael Garcia-Suarez
<rgs@consttype.org>
Thu, 29 Apr 2010 11:02:27 +0000
(13:02 +0200)
This reverts commit
efbe327085cc15510d8c261772e9ac21be3635de
.
dist/Safe/t/safesort.t
patch
|
blob
|
blame
|
history
diff --git
a/dist/Safe/t/safesort.t
b/dist/Safe/t/safesort.t
index
2f1c204
..
3396f1e
100644
(file)
--- a/
dist/Safe/t/safesort.t
+++ b/
dist/Safe/t/safesort.t
@@
-51,5
+51,6
@@
is $@, 42, 'successful closure call should not alter $@';
local $SIG{__WARN__} = sub { $warns++ };
ok !eval { $die_func->("died\n"); 1 }, 'should die';
is $@, "died\n", '$@ should be set correctly';
+ local $TODO = "Shouldn't warn";
is $warns, 0;
}