changeset 795:b87e71e45536

Testing custom paths
author Adam Chlipala <adamc@hcoop.net>
date Thu, 14 May 2009 08:15:36 -0400
parents dc3fc3f3b834
children 6271f0e3c272
files tests/aux/aux.ur tests/pathmap.ur tests/pathmap.urp
diffstat 3 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/aux/aux.ur	Thu May 14 08:15:36 2009 -0400
@@ -0,0 +1,1 @@
+val hello = "Hello!"
--- a/tests/pathmap.ur	Thu May 14 08:13:54 2009 -0400
+++ b/tests/pathmap.ur	Thu May 14 08:15:36 2009 -0400
@@ -3,5 +3,6 @@
 
 fun main () : transaction page = return <xml><body>
   {[x]}<br/>
-  {[y]}
+  {[y]}<br/>
+  {[Aux.hello]}
 </body></xml>
--- a/tests/pathmap.urp	Thu May 14 08:13:54 2009 -0400
+++ b/tests/pathmap.urp	Thu May 14 08:15:36 2009 -0400
@@ -1,3 +1,5 @@
+path extra=aux
 
 $/list
+$extra/aux
 pathmap