[Templates-cvs] cvs commit: Template2/t fileline.t
cvs@template-toolkit.org
cvs@template-toolkit.org
Tue, 02 Dec 2003 13:40:10 +0000
cvs 03/12/02 13:40:09
Modified: t fileline.t
Log:
* fixed file path
Revision Changes Path
1.2 +3 -3 Template2/t/fileline.t
Index: fileline.t
===================================================================
RCS file: /template-toolkit/Template2/t/fileline.t,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- fileline.t 2003/12/02 13:35:53 1.1
+++ fileline.t 2003/12/02 13:40:09 1.2
@@ -12,12 +12,12 @@
# This is free software; you can redistribute it and/or modify it
# under the same terms as Perl itself.
#
-# $Id: fileline.t,v 1.1 2003/12/02 13:35:53 abw Exp $
+# $Id: fileline.t,v 1.2 2003/12/02 13:40:09 abw Exp $
#
#========================================================================
use strict;
-use lib qw( . ../lib );
+use lib qw( ./lib ../lib );
use Template::Test;
use Template::Parser;
use Template::Directive;
@@ -70,7 +70,7 @@
-- start --
-- test --
[% INCLUDE warning -%]
-file: [% file %]
+file: [% file.chunk(-16).last %]
line: [% line %]
warn: [% warn %]
-- expect --