~ubuntu-branches/ubuntu/trusty/libnetpacket-perl/trusty-proposed

« back to all changes in this revision

Viewing changes to t/bug-37931.t

  • Committer: Bazaar Package Importer
  • Author(s): Benoit Mortier
  • Date: 2009-11-21 15:18:28 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20091121151828-2jq4kk0shmm0ti3e
Tags: 0.41.1-1
New Upstream Version (Closes: #557161)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
use strict;
 
2
use warnings;
 
3
 
 
4
use Test::More tests => 1;                      # last test to print
 
5
 
 
6
use NetPacket::ICMP ':ALL';
 
7
 
 
8
ok ICMP_MASKREQ(), "ICMP_MASKRED defined";
 
9
 
 
10
 
 
11
__END__
 
12
 
 
13
=pod
 
14
 
 
15
Subject:        NetPacket::ICMP has an export typo on ICMP_MASKREQ
 
16
 
 
17
I found a typo in NetPacket::ICMP:
 
18
 
 
19
> use constant ICMP_MASKREQ => 17;
 
20
 
 
21
This constant is exported and documented as ICMP_MASREQ, making
 
22
it unusable as an exported method.
 
23
 
 
24
=cut