[Templates-cvs] cvs commit: Template2/t xmlsimple.t
cvs@template-toolkit.org
cvs@template-toolkit.org
Mon, 04 Oct 2004 11:03:52 +0100
cvs 04/10/04 10:03:52
Modified: t xmlsimple.t
Log:
* fixed file path bug introduced by recent patch
Revision Changes Path
1.2 +3 -3 Template2/t/xmlsimple.t
Index: xmlsimple.t
===================================================================
RCS file: /template-toolkit/Template2/t/xmlsimple.t,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- xmlsimple.t 2004/09/24 06:54:27 1.1
+++ xmlsimple.t 2004/10/04 10:03:52 1.2
@@ -11,7 +11,7 @@
# This is free software; you can redistribute it and/or modify it
# under the same terms as Perl itself.
#
-# $Id: xmlsimple.t,v 1.1 2004/09/24 06:54:27 abw Exp $
+# $Id: xmlsimple.t,v 1.2 2004/10/04 10:03:52 abw Exp $
#
#========================================================================
@@ -66,14 +66,14 @@
-- test --
[% USE xs = XML.Simple -%]
-[% xml = xs.XMLin( './test/xml/testfile.xml') -%]
+[% xml = xs.XMLin(xmlfile) -%]
[% xml.section.title -%]
-- expect --
The Alpha Zone
-- test --
[% USE xs = XML.Simple -%]
-[% xml = xs.XMLin( './test/xml/testfile.xml') -%]
+[% xml = xs.XMLin(xmlfile) -%]
[% xmlout = xs.XMLout(xml) -%]
[% xmlout -%]
-- expect --