[Bps-public-commit] SD branch, master, updated. 15aafc4ae55bb6f8d32455102cf6342953427e17

sunnavy at bestpractical.com sunnavy at bestpractical.com
Fri Jun 26 02:08:55 EDT 2009


The branch, master has been updated
       via  15aafc4ae55bb6f8d32455102cf6342953427e17 (commit)
      from  bea95c69603837dc140e34d06773ae33742c7644 (commit)

Summary of changes:
 t/sd-redmine/clone.t |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit 15aafc4ae55bb6f8d32455102cf6342953427e17
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Fri Jun 26 14:08:48 2009 +0800

    check if current perl is 5.10 for t/sd-redmine/clone.t

diff --git a/t/sd-redmine/clone.t b/t/sd-redmine/clone.t
index c4db5e6..059a4a2 100644
--- a/t/sd-redmine/clone.t
+++ b/t/sd-redmine/clone.t
@@ -4,6 +4,12 @@ use warnings;
 use Prophet::Test;
 use App::SD::Test;
 
+BEGIN {
+    unless ( eval { require 5.010 } ) {
+        plan skip_all => 'You need perl 5.010 or above to run the tests';
+    }
+}
+
 unless ( eval { require Net::Redmine } ) {
     plan skip_all => 'You need Net::Redmine installed to run the tests';
 }

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



More information about the Bps-public-commit mailing list