Skip Menu |

This queue is for tickets about the Net-Pcap CPAN distribution.

Report information
The Basics
Id: 132628
Status: new
Priority: 0/
Queue: Net-Pcap

People
Owner: Nobody in particular
Requestors: benaveling [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Overstrict test in t/09-error.t
Date: Fri, 15 May 2020 23:36:08 +1000
To: bug-Net-Pcap [...] rt.cpan.org
From: Ben Aveling <benaveling [...] gmail.com>
t/09-error.t is failing for me at line 25: like( $err, '/^(?:parse|syntax) error$/', " - \$err must not be null: $err" ); $err is "syntax error in filter expression: syntax error". It's not clear to me why this has started happening - perhaps a module Net::Pcap uses has changed? And it's not clear that it is a problem. For me, I resolved the error by changing line 25 to: like( $err, '/^(?:parse|syntax) error/', " - \$err must not be null: ('$err')" ); Assuming you agree with the fix, I'm happy to try to push it to github. Though it's probably easier if someone who already has access makes the change... Regards, Ben