From: Tomas Doran Date: Sat, 28 Nov 2009 12:38:12 +0000 (+0000) Subject: Adding the files you need for the tests you've committed helps them pass, idiot :) X-Git-Tag: 5.80014_02~20 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=f264b24aa346faa7193464cc626e3d9b953fcb18 Adding the files you need for the tests you've committed helps them pass, idiot :) --- diff --git a/t/lib/Catalyst/Script/CompileTest.pm b/t/lib/Catalyst/Script/CompileTest.pm new file mode 100644 index 0000000..df81247 --- /dev/null +++ b/t/lib/Catalyst/Script/CompileTest.pm @@ -0,0 +1,16 @@ +package Catalyst::Script::CompileTest; +use Moose; +use namespace::autoclean; + +use Test::More; + +with 'Catalyst::ScriptRole'; + +sub run { __PACKAGE__ } + +after new_with_options => sub { + my ($self, %args) = @_; + is_deeply \%args, { application_name => 'ScriptTestApp' }, 'App name correct'; +}; + +1; diff --git a/t/lib/ScriptTestApp/Script/CompileTest.pm b/t/lib/ScriptTestApp/Script/CompileTest.pm new file mode 100644 index 0000000..5d4b89c --- /dev/null +++ b/t/lib/ScriptTestApp/Script/CompileTest.pm @@ -0,0 +1,7 @@ +package ScriptTestApp::Script::CompileTest; +use Moose; +use namespace::autoclean; + +die("Does not compile"); + +1;