| 1 | use Test::Morescip-perl cpan Socket-MsgHdr 0.06 Test/More/; |
| 2 | no warnings 'void'; # Too late to run INIT block ... |
| 3 | |
| 4 | eval "use Test::Pod::Coverage tests => 1"; |
| 5 | |
| 6 | planscip-perl cpan Socket-MsgHdr 0.06 main/plan(). skip_all => "Test::Pod::Coverage required" if $@scip-perl cpan Socket-MsgHdr 0.06 main/`$@`.; |
| 7 | |
| 8 | { |
| 9 | local $SIGscip-perl cpan Socket-MsgHdr 0.06 main/`%SIG`.{__WARN__} = sub { |
| 10 | # adapted from Class-Trait-0.07 |
| 11 | return if $_scip-perl cpan Socket-MsgHdr 0.06 main/`@_`.[0] =~ /^Too late to run INIT block/; |
| 12 | goto &CORE::warnscip-perl cpan Socket-MsgHdr 0.06 CORE/warn().; |
| 13 | }; |
| 14 | |
| 15 | pod_coverage_okscip-perl cpan Socket-MsgHdr 0.06 main/pod_coverage_ok().("Socket::MsgHdr", |
| 16 | { also_private => [ |
| 17 | qr/^(?:un)?pack_cmsghdr$/, |
| 18 | qr/^control$/, |
| 19 | ] }, |
| 20 | "Socket::MsgHdr OO and default EXPORTs are covered"); |
| 21 | |
| 22 | } |