[Bps-public-commit] Class-Load branch, master, updated. def747f4fe71464ee3e5c17eaa39f067acac6f31

Shawn Moore sartak at bestpractical.com
Mon Nov 15 12:59:08 EST 2010


The branch, master has been updated
       via  def747f4fe71464ee3e5c17eaa39f067acac6f31 (commit)
       via  4ead0e5b1c06f086cfefaded14fa429cc2f7cb76 (commit)
       via  c5892aea74d88e5e5ac36424b94bb78fa8758827 (commit)
      from  a3b22107f25c7ad27c5039c42af9f77d48b1ea2e (commit)

Summary of changes:
 Changes            |    1 +
 Makefile.PL        |    2 +-
 t/003-load-class.t |   10 +++++-----
 3 files changed, 7 insertions(+), 6 deletions(-)

- Log -----------------------------------------------------------------
commit c5892aea74d88e5e5ac36424b94bb78fa8758827
Author: Kent Fredric <kentfredric at gmail.com>
Date:   Sat Nov 13 16:26:19 2010 +1300

    fatalize 0003-load-class.t

diff --git a/t/003-load-class.t b/t/003-load-class.t
index 183de51..84e7680 100644
--- a/t/003-load-class.t
+++ b/t/003-load-class.t
@@ -3,23 +3,23 @@ use strict;
 use warnings;
 use Test::More tests => 14;
 use Class::Load ':all';
-use Test::Exception;
+use Test::Fatal;
 use lib 't/lib';
 
 ok(load_class('Class::Load::OK'), "loaded class OK");
 is($Class::Load::ERROR, undef);
 
-throws_ok {
+like( exception {
     load_class('Class::Load::Nonexistent')
-} qr{^Can't locate Class/Load/Nonexistent.pm in \@INC};
+}, qr{^Can't locate Class/Load/Nonexistent.pm in \@INC});
 like($Class::Load::ERROR, qr{^Can't locate Class/Load/Nonexistent.pm in \@INC});
 
 ok(load_class('Class::Load::OK'), "loaded class OK");
 is($Class::Load::ERROR, undef);
 
-throws_ok {
+like( exception {
     load_class('Class::Load::SyntaxError')
-} qr{^Missing right curly or square bracket at };
+}, qr{^Missing right curly or square bracket at });
 like($Class::Load::ERROR, qr{^Missing right curly or square bracket at });
 
 ok(is_class_loaded('Class::Load::OK'));

commit 4ead0e5b1c06f086cfefaded14fa429cc2f7cb76
Author: Kent Fredric <kentfredric at gmail.com>
Date:   Sat Nov 13 16:32:14 2010 +1300

    Move Test::Exception -> Test::Fatal

diff --git a/Makefile.PL b/Makefile.PL
index 7294c8d..5d5af25 100755
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -5,7 +5,7 @@ all_from   'lib/Class/Load.pm';
 repository 'http://github.com/bestpractical/class-load';
 
 build_requires 'Test::More';
-build_requires 'Test::Exception';
+build_requires 'Test::Fatal';
 
 WriteAll;
 

commit def747f4fe71464ee3e5c17eaa39f067acac6f31
Author: Kent Fredric <kentfredric at gmail.com>
Date:   Sat Nov 13 16:41:06 2010 +1300

    update changelog

diff --git a/Changes b/Changes
index 849cfaa..4155950 100644
--- a/Changes
+++ b/Changes
@@ -1,6 +1,7 @@
 Revision history for Class-Load
 
 0.06
+        Replace Test::Exception with Test::Fatal ( Kent Fredric )
 
 0.05    Wed Sep 2 06:18:13 EST 2009
         Cargo-cult Class::MOP's is_class_loaded so we work on 5.10

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list