[Templates-svn] r1110 - trunk/t

svn at template-toolkit.org svn at template-toolkit.org
Wed Jan 23 22:45:45 GMT 2008


Author: sean
Date: 2008-01-23 22:45:22 +0000 (Wed, 23 Jan 2008)
New Revision: 1110

Modified:
   trunk/t/html.t
Log:
Fixed test for missing templates/html directory.



Modified: trunk/t/html.t
===================================================================
--- trunk/t/html.t	2008-01-22 23:48:08 UTC (rev 1109)
+++ trunk/t/html.t	2008-01-23 22:45:22 UTC (rev 1110)
@@ -36,7 +36,7 @@
 
 
 my $html = -d 'templates' ? 'templates/html' : '../templates/html';
-die "cannot grok templates/html directory\n" unless $html;
+die "cannot grok templates/html directory\n" unless -d $html;
 
 my $h = Template::Plugin::HTML->new('foo');
 ok( $h );




More information about the templates-svn mailing list