projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
58a26b1
)
TODO must be on same line as message for TAP.
Craig A. Berry [Fri, 22 May 2009 16:37:00 +0000 (11:37 -0500)]
Follow-up to
b2978f4e665fcbbc23bf7f986d2650556cfec504
t/op/magic.t
patch
|
blob
|
blame
|
history
diff --git
a/t/op/magic.t
b/t/op/magic.t
index
a2608f6
..
81d7142
100755
(executable)
--- a/
t/op/magic.t
+++ b/
t/op/magic.t
@@
-354,7
+354,7
@@
SKIP: {
{
my $ok = 1;
my $warn = '';
- local $SIG{'__WARN__'} = sub { $ok = 0; $warn = join '', @_; };
+ local $SIG{'__WARN__'} = sub { $ok = 0; $warn = join '', @_; $warn =~ s/\n$//; };
$! = undef;
local $TODO = $Is_VMS ? "'\$!=undef' does throw a warning" : '';
ok($ok, $warn);