From: Tomas Doran (t0m) Date: Sat, 6 Jun 2009 22:51:47 +0000 (+0100) Subject: Trivial test spacing cleanups X-Git-Tag: 0.05~12 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Engine-STOMP.git;a=commitdiff_plain;h=edb41ed13117249bf9993a1a7166763d134c788d;hp=93f94cc5e9ffc74cca27a4a5e92868f7ca1ab5c7 Trivial test spacing cleanups --- diff --git a/t/01_notabs.t b/t/01_notabs.t index 391abe7..2865f1e 100644 --- a/t/01_notabs.t +++ b/t/01_notabs.t @@ -18,3 +18,4 @@ else { Test::NoTabs->import; all_perl_files_ok(qw/lib/); + diff --git a/t/02_pod.t b/t/02_pod.t index 05aa78a..cbcee83 100644 --- a/t/02_pod.t +++ b/t/02_pod.t @@ -5,3 +5,4 @@ plan skip_all => 'Test::Pod 1.14 required' if $@; plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD} || -e 'inc/.author'; all_pod_files_ok(); + diff --git a/t/03_pod_coverage.t b/t/03_pod_coverage.t index 5270b82..60bb6f8 100644 --- a/t/03_pod_coverage.t +++ b/t/03_pod_coverage.t @@ -11,3 +11,4 @@ all_pod_coverage_ok( also_private => [qw/BUILD BUILDARGS/] } ); + diff --git a/t/04-message-driven-request.t b/t/04-message-driven-request.t index d194e7d..5e5ebb5 100644 --- a/t/04-message-driven-request.t +++ b/t/04-message-driven-request.t @@ -1,11 +1,12 @@ use strict; use warnings; -use Test::More tests => 5; +use Test::More tests => 6; use FindBin; use lib "$FindBin::Bin/../testapp/lib"; -BEGIN { use_ok 'Catalyst::Test::MessageDriven', 'StompTestApp' }; +BEGIN { use_ok 'Catalyst::Test::MessageDriven' or die; + use_ok 'StompTestApp' or die; }; # successful request - type is minimum attributes my $req = "---\ntype: ping\n"; @@ -18,3 +19,4 @@ $req = "--- ~\n"; $res = request('testcontroller', $req); ok($res, 'response to empty message'); ok($res->is_error, 'unsuccessful response'); + diff --git a/t/server.pl b/t/server.pl index 4bd7bdc..bc77af9 100644 --- a/t/server.pl +++ b/t/server.pl @@ -7,7 +7,7 @@ eval { if ($@) { unless (Alien::ActiveMQ->is_version_installed($ACTIVEMQ_VERSION)) { - plan 'skip_all' => 'No ActiveMQ server installed by Alien::ActiveMQ, try running the "install-activemq" command'; + plan 'skip_all' => 'No ActiveMQ server installed by Alien::ActiveMQ, try running the "install-activemq" command'; exit; }