diff options
author | Jesse Luehrs <doy@tozt.net> | 2010-11-08 21:59:58 -0600 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2010-11-08 21:59:58 -0600 |
commit | 9521ec78c2fa5aeba53578f0bc94300d0abc8f8a (patch) | |
tree | 59d0bcf4e41d533f1f585702436b61d7020320b8 /t/60-extends-version.t | |
parent | 36fb7f594d2e8249ca656725922e3118e6458153 (diff) | |
download | moosex-nonmoose-9521ec78c2fa5aeba53578f0bc94300d0abc8f8a.tar.gz moosex-nonmoose-9521ec78c2fa5aeba53578f0bc94300d0abc8f8a.zip |
convert to Test::Fatal, and actually dep on it
Diffstat (limited to 't/60-extends-version.t')
-rw-r--r-- | t/60-extends-version.t | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/60-extends-version.t b/t/60-extends-version.t index 7f1f97f..4f607b8 100644 --- a/t/60-extends-version.t +++ b/t/60-extends-version.t @@ -2,7 +2,7 @@ use strict; use warnings; use Test::More; -use Test::Exception; +use Test::Fatal; { package Foo; @@ -14,8 +14,8 @@ use Test::Exception; package Bar; use Moose; use MooseX::NonMoose; - ::lives_ok { extends 'Foo' => { -version => '0.02' } } - "specifying arguments to superclasses doesn't break"; + ::is(::exception { extends 'Foo' => { -version => '0.02' } }, undef, + "specifying arguments to superclasses doesn't break"); } done_testing; |