projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
5545454
)
Revert "Un-TODO warning test"
Rafael Garcia-Suarez [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;
}