2 # This is automatically generated by author/import-moose-test.pl.
3 # DO NOT EDIT THIS FILE. ANY CHANGES WILL BE LOST!!!
4 use t::lib::MooseCompat;
9 use lib 't/lib', 'lib';
15 $SIG{__WARN__} = sub { 0 };
17 eval { require Foo; };
18 ok(!$@, '... loaded Foo successfully') || diag $@;
20 delete $INC{'Foo.pm'};
22 eval { require Foo; };
23 ok(!$@, '... re-loaded Foo successfully') || diag $@;
25 eval { require Bar; };
26 ok(!$@, '... loaded Bar successfully') || diag $@;
28 delete $INC{'Bar.pm'};
30 eval { require Bar; };
31 ok(!$@, '... re-loaded Bar successfully') || diag $@;