Trivial test spacing cleanups
Tomas Doran (t0m) [Sat, 6 Jun 2009 22:51:47 +0000 (23:51 +0100)]
t/01_notabs.t
t/02_pod.t
t/03_pod_coverage.t
t/04-message-driven-request.t
t/server.pl

index 391abe7..2865f1e 100644 (file)
@@ -18,3 +18,4 @@ else {
 
 Test::NoTabs->import;
 all_perl_files_ok(qw/lib/);
+
index 05aa78a..cbcee83 100644 (file)
@@ -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();
+
index 5270b82..60bb6f8 100644 (file)
@@ -11,3 +11,4 @@ all_pod_coverage_ok(
     also_private => [qw/BUILD BUILDARGS/]
   }
 );
+
index d194e7d..5e5ebb5 100644 (file)
@@ -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');
+
index 4bd7bdc..bc77af9 100644 (file)
@@ -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;
     }