projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
[PATCH t/op/taint.t] remove possible false positive
[p5sagit/p5-mst-13.2.git]
/
t
/
op
/
ver.t
diff --git
a/t/op/ver.t
b/t/op/ver.t
index
a7e57a6
..
1dc28d2
100755
(executable)
--- a/
t/op/ver.t
+++ b/
t/op/ver.t
@@
-191,7
+191,7
@@
SKIP: {
my $ip = v2004.148.0.1;
my $host;
eval { $host = gethostbyaddr($ip,Socket::AF_INET) };
- ok($@ =~ /Wide character/,"Non-bytes leak to gethostbyaddr");
+ like($@, qr/Wide character/, "Non-bytes leak to gethostbyaddr");
}
# Chapter 28, pp671