r41356 - /trunk/dh-make-perl/t/core-modules.t

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Wed Aug 5 06:55:33 UTC 2009


Author: dmn
Date: Wed Aug  5 06:55:13 2009
New Revision: 41356

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=41356
Log:
t/core-modules.t: add a bogus module test

Modified:
    trunk/dh-make-perl/t/core-modules.t

Modified: trunk/dh-make-perl/t/core-modules.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/t/core-modules.t?rev=41356&op=diff
==============================================================================
--- trunk/dh-make-perl/t/core-modules.t (original)
+++ trunk/dh-make-perl/t/core-modules.t Wed Aug  5 06:55:13 2009
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 3;
+use Test::More tests => 4;
 
 use Debian::AptContents;
 
@@ -18,3 +18,7 @@
 # 2.17 is in 5.8.9, which is not in Debian
 is( $apt->find_core_perl_dependency( 'Module::CoreList', '2.17' ), undef,
     'Module::CoreList 2.17 is not in core' );
+
+# try a bogus module
+is( $apt->find_core_perl_dependency( 'Foo::Bar', undef ), undef,
+    'Foo::Bar is not in core' );




More information about the Pkg-perl-cvs-commits mailing list