summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/rec.ur3
-rw-r--r--tests/rec.urp5
2 files changed, 7 insertions, 1 deletions
diff --git a/tests/rec.ur b/tests/rec.ur
index 6131337e..0a0c7445 100644
--- a/tests/rec.ur
+++ b/tests/rec.ur
@@ -1,3 +1,4 @@
-val rec main = fn () => <html><body>
+
+fun main () : transaction page = return <html><body>
<a link={main ()}>Ride again!</a>
</body></html>
diff --git a/tests/rec.urp b/tests/rec.urp
new file mode 100644
index 00000000..8c3adc2c
--- /dev/null
+++ b/tests/rec.urp
@@ -0,0 +1,5 @@
+debug
+database dbname=test
+exe /tmp/webapp
+
+rec