summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/unurlify.ur7
-rw-r--r--tests/unurlify.urp3
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/unurlify.ur b/tests/unurlify.ur
new file mode 100644
index 00000000..4bb523c1
--- /dev/null
+++ b/tests/unurlify.ur
@@ -0,0 +1,7 @@
+datatype list t = Nil | Cons of t * list t
+
+fun handler (ls : list bool) = return <xml/>
+
+fun main () : transaction page = return <xml><body>
+ <a link={handler Nil}>!</a>
+</body></xml>
diff --git a/tests/unurlify.urp b/tests/unurlify.urp
new file mode 100644
index 00000000..d1e2b8e6
--- /dev/null
+++ b/tests/unurlify.urp
@@ -0,0 +1,3 @@
+debug
+
+unurlify