[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.8.8-650-g6b388d3

Shawn Moore sartak at bestpractical.com
Tue Aug 31 17:35:36 EDT 2010


The branch, 3.9-trunk has been updated
       via  6b388d3a1e5a6d3bf87f85d5dadc08759d589ba1 (commit)
      from  0aeae0e5c455e377d25957691b84cf4dbc582984 (commit)

Summary of changes:
 t/approval/basic.t |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

- Log -----------------------------------------------------------------
commit 6b388d3a1e5a6d3bf87f85d5dadc08759d589ba1
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Tue Aug 31 17:38:02 2010 -0400

    Clean up t/approval/basic.t's skip_all logic too

diff --git a/t/approval/basic.t b/t/approval/basic.t
index 5974591..5e2670d 100644
--- a/t/approval/basic.t
+++ b/t/approval/basic.t
@@ -1,15 +1,12 @@
-
 use strict;
 use warnings;
-use Test::More;
+use RT::Test tests => undef;
 BEGIN {
-    eval { require Email::Abstract; require Test::Email; 1 }
-        or plan skip_all => 'require Email::Abstract and Test::Email';
+    plan skip_all => 'Email::Abstract and Test::Email required.'
+        unless eval { require Email::Abstract; require Test::Email; 1 };
+    plan tests => 39;
 }
 
-
-use RT;
-use RT::Test tests => 39;
 use RT::Test::Email;
 
 RT->Config->Set( LogToScreen => 'debug' );

-----------------------------------------------------------------------


More information about the Rt-commit mailing list