From: Stevan Little Date: Wed, 21 Mar 2007 03:45:57 +0000 (+0000) Subject: adding elk.pm... its kinda silly, but I like it X-Git-Tag: 0_19~9 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4d5c0df2c5b43a0dc93b6b10b049fde02e4e2991;p=gitmo%2FMoose.git adding elk.pm... its kinda silly, but I like it --- diff --git a/t/102_Moose_Object_error.t b/t/102_Moose_Object_error.t index 46868c5..37e20f3 100644 --- a/t/102_Moose_Object_error.t +++ b/t/102_Moose_Object_error.t @@ -3,8 +3,6 @@ use strict; use warnings; -use lib '/Users/stevan/Projects/Moose/Moose/Class-MOP/branches/Class-MOP-tranformations/lib'; - use lib 't/lib', 'lib'; use Test::More tests => 1; diff --git a/t/105_module_refresh_bug.t b/t/105_module_refresh_bug.t new file mode 100644 index 0000000..088db05 --- /dev/null +++ b/t/105_module_refresh_bug.t @@ -0,0 +1,22 @@ +#!/usr/bin/perl + +use strict; +use warnings; + +use lib 't/lib', 'lib'; + +use Test::More; +use Test::Exception; + +BEGIN { + eval "use Module::Refresh;"; + plan skip_all => "Module::Refresh is required for this test" if $@; + plan no_plan => 1; +} + +use_ok('Bar'); + +lives_ok { + Module::Refresh->new->refresh_module('Bar.pm') +} '... successfully refreshed Bar'; +