June 27, 2005 Phalanx from the Trenches

Review Changes

  $ svn diff t/09-error.t

  Index: t/09-error.t
  ===================================================================
  --- t/09-error.t        (revision 132)
  +++ t/09-error.t        (revision 133)
  @@ -5,7 +5,7 @@
   use strict;
   use warnings;
  -use Test::More tests => 5;
  +use Test::More tests => 6;
   use Text::Template;
   die "This is the test program for Text::Template version 1.44.
  @@ -53,5 +53,8 @@
           $Text::Template::ERROR =~ /^Couldn't open file/,
           "File does not exist");
  +is (Text::Template->TTerror, 
  +          $Text::Template::ERROR,
  +          'TTerror returns $ERROR');
  +
   exit;



Home Last TOC Copyright © 2005 James E Keenan and Marc Prewitt Prev Next