X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Funit_core_component_loading.t;h=bae3c5e6d1ade154983d23d9bbf3bbeb78ed2738;hp=5b6a4a7873b47297650ecd0c173505c73261a3a9;hb=7fa2c9c1b85c98786655ad5169708d8dc84e8353;hpb=b6d4ee6e9d0c627982cd2da23702ee900a1b1796 diff --git a/t/unit_core_component_loading.t b/t/unit_core_component_loading.t index 5b6a4a7..bae3c5e 100644 --- a/t/unit_core_component_loading.t +++ b/t/unit_core_component_loading.t @@ -40,7 +40,7 @@ my @components = ( { type => 'View', prefix => 'View', name => 'Foo' }, ); -sub write_component_file { +sub write_component_file { my ($dir_list, $module_name, $content) = @_; my $dir = File::Spec->catdir(@$dir_list); @@ -63,6 +63,7 @@ sub make_component_file { write_component_file(\@dir_list, $name_final, <NEXT::COMPONENT(\@_); @@ -164,7 +165,7 @@ write_component_file([$libdir, $appclass, 'Model'], 'TopLevel', <NEXT::COMPONENT(\@_); no strict 'refs'; *{\__PACKAGE__ . "::whoami"} = sub { return \__PACKAGE__; };