Acme-CPANAuthors-You-re_using

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN


0.05    2013-08-20 19:15 UTC
        This is a maintenance release. The code contains no functional change.
        Satisfied users of version 0.04 can skip this update.
        + Tst : The Kwalitee test has been removed.

0.04    2011-08-24 23:10 UTC
        + Chg : The module now uses File::Find and Module::Metadata to collect
                all the modules installed in your system.
                ExtUtils::Installed is no longer needed.
        + Chg : die() is called instead of croak() for internal errors.
                Carp is no longer needed.
        + Fix : Update the Parse::CPAN::Packages' author id test, since
                Acme::CPANAuthors does not depend on it anymore.
        + Upd : Acme::CPANAuthors dependency bumped to 0.16.

0.03    2010-01-03 10:10 UTC
        + Fix : Stop skipping t/10-base.t when Acme::CPANAuthors throw an
                unrelated warning.
        + Fix : Explicitely depend on the last ExtUtils::Installed and
                Acme::CPANAuthors.

t/11-naughty-version.t  view on Meta::CPAN


use lib 't/lib';

use Acme::CPANAuthors;

local @INC = grep $_ ne '.', @INC;

our $test_loaded;
local $test_loaded = 0;

my $err = do {
 local $SIG{__WARN__} = sub {
  my $msg = join "\n", @_;
  if ($msg =~ /cabbage/) {
   die "$msg\n";
  } else {
   diag $msg;
  }
 };
 eval { Acme::CPANAuthors->new("You're_using") };
 $@;
};

is $test_loaded, 1,  'naughty module was actually loaded';
is $err,         '', 'naughty module did not make us croak';



( run in 1.259 second using v1.01-cache-2.11-cpan-49f99fa48dc )