diff options
author | Justin Hunter <justin.d.hunter@gmail.com> | 2010-10-26 13:55:17 -0700 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2010-10-27 11:13:42 -0500 |
commit | 13f4d7c3ee749b18ba8b16e2cfc475e7471dd43c (patch) | |
tree | 44b9c96a069710bdce56ea3062662f708b6bc000 /t/03-io.t | |
parent | 41fc247afe43b3ca9bce931d224935a7bcf5a3bf (diff) | |
download | package-stash-13f4d7c3ee749b18ba8b16e2cfc475e7471dd43c.tar.gz package-stash-13f4d7c3ee749b18ba8b16e2cfc475e7471dd43c.zip |
move from Test::Exception to Test::Fatal
Diffstat (limited to 't/03-io.t')
-rw-r--r-- | t/03-io.t | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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"); } |