[Templates-cvs] cvs commit: Template2/t autoform.t

cvs@template-toolkit.org cvs@template-toolkit.org
Mon, 04 Aug 2003 10:52:39 +0100


cvs         03/08/04 09:52:39

  Modified:    t        autoform.t
  Log:
  * skip all tests if Perl version > 5.8.0
  
  Revision  Changes    Path
  2.6       +3 -3      Template2/t/autoform.t
  
  Index: autoform.t
  ===================================================================
  RCS file: /template-toolkit/Template2/t/autoform.t,v
  retrieving revision 2.5
  retrieving revision 2.6
  diff -u -r2.5 -r2.6
  --- autoform.t	2002/08/12 11:07:13	2.5
  +++ autoform.t	2003/08/04 09:52:38	2.6
  @@ -12,7 +12,7 @@
   # This is free software; you can redistribute it and/or modify it
   # under the same terms as Perl itself.
   #
  -# $Id: autoform.t,v 2.5 2002/08/12 11:07:13 abw Exp $
  +# $Id: autoform.t,v 2.6 2003/08/04 09:52:38 abw Exp $
   #
   #========================================================================
   
  @@ -31,8 +31,8 @@
   if ($@) {
       skip_all('Text::Autoformat module not installed');
   }
  -if ($] == 5.008) {
  -     skip_all('Text::Autoformat tests unreliable under 5.8.0');
  +if ($] >= 5.008) {
  +     skip_all("Text::Autoformat tests unreliable under $]");
   }
   
   # for testing known bug with locales that don't use '.' as a decimal