From 13f4d7c3ee749b18ba8b16e2cfc475e7471dd43c Mon Sep 17 00:00:00 2001 From: Justin Hunter Date: Tue, 26 Oct 2010 13:55:17 -0700 Subject: move from Test::Exception to Test::Fatal --- t/03-io.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 't/03-io.t') diff --git a/t/03-io.t b/t/03-io.t index 43a7dd8..147b745 100644 --- a/t/03-io.t +++ b/t/03-io.t @@ -2,7 +2,7 @@ use strict; use warnings; use Test::More; -use Test::Exception; +use Test::Fatal; { package Foo; @@ -40,9 +40,9 @@ use Package::Stash; { my $stash = Package::Stash->new('Baz'); - lives_ok { + ok(!exception { $stash->add_package_symbol('baz', *Foo::foo{IO}); - } "can add an IO symbol"; + }, "can add an IO symbol"); ok($stash->has_package_symbol('baz'), "has baz"); is($stash->get_package_symbol('baz'), *Foo::foo{IO}, "got the right baz"); } -- cgit v1.2.3-54-g00ecf