[Templates-cvs] cvs commit: TT3/t/directive block.t
cvs@template-toolkit.org
cvs@template-toolkit.org
Fri, 03 Dec 2004 13:49:30 +0000
cvs 04/12/03 13:49:30
Modified: t/directive block.t
Log:
* changed filename to path and fixed a couple of errors that have changed
Revision Changes Path
1.5 +5 -5 TT3/t/directive/block.t
Index: block.t
===================================================================
RCS file: /template-toolkit/TT3/t/directive/block.t,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- block.t 2004/12/01 11:05:22 1.4
+++ block.t 2004/12/03 13:49:29 1.5
@@ -9,7 +9,7 @@
# This is free software; you can redistribute it and/or modify it
# under the same terms as Perl itself.
#
-# $Id: block.t,v 1.4 2004/12/01 11:05:22 abw Exp $
+# $Id: block.t,v 1.5 2004/12/03 13:49:29 abw Exp $
#
#========================================================================
@@ -116,7 +116,7 @@
<template:
<line:1>
<blockdef:
- <filename:foo>
+ <path:foo>
<block:
<text:\nsome text\n>
<line:3>
@@ -130,7 +130,7 @@
<template:
<line:1>
<blockdef:
- <filename:bar>
+ <path:bar>
<block:
<get:
<squote:some text>
@@ -145,7 +145,7 @@
<template:
<line:1>
<blockdef:
- <filename:bar>
+ <path:bar>
<block:
<get:
<squote:some text>
@@ -193,7 +193,7 @@
some text
[% END %]
-- expect --
-<ERROR:line 1: parser error - invalid variables in double quoted file name>
+<ERROR:line 1: parser error - variables are not allowed in static paths>
__END__