projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
[ID 20011126.150] t/op/pack patch to fix Useless use of unpack in void context at...
[p5sagit/p5-mst-13.2.git]
/
t
/
op
/
magic.t
diff --git
a/t/op/magic.t
b/t/op/magic.t
index
4e47414
..
4f38623
100755
(executable)
--- a/
t/op/magic.t
+++ b/
t/op/magic.t
@@
-36,7
+36,7
@@
sub skip {
return 1;
}
-print "1..43\n";
+print "1..44\n";
$Is_MSWin32 = $^O eq 'MSWin32';
$Is_NetWare = $^O eq 'NetWare';
@@
-143,6
+143,8
@@
eval { die "foo\n" };
ok $@ eq "foo\n", $@;
ok $$ > 0, $$;
+eval { $$++ };
+ok $@ =~ /^Modification of a read-only value attempted/;
# $^X and $0
{