projects
/
gitmo/Moose.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Redid conversion to Test::Fatal
[gitmo/Moose.git]
/
t
/
010_basics
/
016_load_into_main.t
diff --git
a/t/010_basics/016_load_into_main.t
b/t/010_basics/016_load_into_main.t
index
4198721
..
5ed7754
100644
(file)
--- a/
t/010_basics/016_load_into_main.t
+++ b/
t/010_basics/016_load_into_main.t
@@
-4,11
+4,11
@@
use strict;
use warnings;
use Test::More;
-use Test::Exception;
+use Test::Fatal;
-lives_ok {
+is( exception {
eval 'use Moose';
-} "export to main";
+}, undef, "export to main" );
isa_ok( main->meta, "Moose::Meta::Class" );