Trivial test spacing cleanups
[catagits/Catalyst-Engine-STOMP.git] / t / 04-message-driven-request.t
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');
+