[Templates-cvs] cvs commit: TT3/t/directive wrapper.t
cvs@template-toolkit.org
cvs@template-toolkit.org
Fri, 03 Dec 2004 15:50:55 +0000
cvs 04/12/03 15:50:55
Modified: t/directive wrapper.t
Log:
* changed path to paths
Revision Changes Path
1.9 +17 -7 TT3/t/directive/wrapper.t
Index: wrapper.t
===================================================================
RCS file: /template-toolkit/TT3/t/directive/wrapper.t,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- wrapper.t 2004/12/03 13:50:44 1.8
+++ wrapper.t 2004/12/03 15:50:55 1.9
@@ -9,7 +9,7 @@
# This is free software; you can redistribute it and/or modify it
# under the same terms as Perl itself.
#
-# $Id: wrapper.t,v 1.8 2004/12/03 13:50:44 abw Exp $
+# $Id: wrapper.t,v 1.9 2004/12/03 15:50:55 abw Exp $
#
#========================================================================
@@ -76,7 +76,9 @@
<template:
<line:1>
<wrapper:
- <path:foo>
+ <paths:
+ <path:foo>
+ >
<no args>
<block:
<text:\nsome text\n>
@@ -91,7 +93,9 @@
<template:
<line:1>
<wrapper:
- <path:foo>
+ <paths:
+ <path:foo>
+ >
<no args>
<get:
<squote:some text>
@@ -105,7 +109,9 @@
<template:
<line:1>
<wrapper:
- <path:baz>
+ <paths:
+ <path:baz>
+ >
<args:
<tuple:
<ident:z>
@@ -113,7 +119,9 @@
>
>
<wrapper:
- <path:bar>
+ <paths:
+ <path:bar>
+ >
<args:
<tuple:
<ident:y>
@@ -121,7 +129,9 @@
>
>
<wrapper:
- <path:foo>
+ <paths:
+ <path:foo>
+ >
<args:
<tuple:
<ident:x>
@@ -149,7 +159,7 @@
-- test missing template name error --
[% WRAPPER %]
-- expect --
-<ERROR:line 1: missing template name in WRAPPER directive>
+<ERROR:line 1: missing template path(s) in WRAPPER directive>
__END__